module Stat:sig
..end
type
t = {
|
comm : |
(* | The filename of the executable | *) |
|
state : |
(* | One character from the string "RSDZTW" | *) |
|
ppid : |
(* | The PID of the parent. | *) |
|
pgrp : |
(* | The process group ID of the process. | *) |
|
session : |
(* | The session ID of the process. | *) |
|
tty_nr : |
(* | The tty the process uses. | *) |
|
tpgid : |
(* | The process group ID of the process which currently owns the tty... | *) |
|
flags : |
(* | The kernel flags word of the process. | *) |
|
minflt : |
(* | The number of minor faults the process has made which have not required loading a memory page from disk. | *) |
|
cminflt : |
(* | The number of minor faults that the process’s waited-for children have made. | *) |
|
majflt : |
(* | The number of major faults the process has made which have required loading a page from disk. | *) |
|
cmajflt : |
(* | The number of major faults that the process’s waited-for children have made. | *) |
|
utime : |
(* | The number of jiffies that this process has been scheduled in user mode. | *) |
|
stime : |
(* | The number of jiffies that this process has been scheduled in kernel mode. | *) |
|
cutime : |
(* | The number of jiffies that this process’s waited-for children have been scheduled in user mode. | *) |
|
cstime : |
(* | The number of jiffies that this process’s waited-for children have been scheduled in kernel mode. | *) |
|
priority : |
(* | The standard nice value, plus fifteen. The value is never negative in the kernel. | *) |
|
nice : |
(* | The nice value ranges from 19 to -19 | *) |
|
unused : |
(* | placeholder for removed field | *) |
|
itrealvalue : |
(* | The time in jiffies before the next SIGALRM is sent to the process due to an interval timer. | *) |
|
starttime : |
(* | The time in jiffies the process started after system boot. | *) |
|
vsize : |
(* | Virtual memory size in bytes. | *) |
|
rss : |
(* | Resident Set Size: number of pages the process has in real memory. | *) |
|
rlim : |
(* | Current limit in bytes on the rss of the process. | *) |
|
startcode : |
(* | The address above which program text can run. | *) |
|
endcode : |
(* | The address below which program text can run. | *) |
|
startstack : |
(* | The address of the start of the stack. | *) |
|
kstkesp : |
(* | The current value of esp (stack pointer) | *) |
|
kstkeip : |
(* | The current value of eip (instruction pointer) | *) |
|
signal : |
(* | The bitmap of pending signals. | *) |
|
blocked : |
(* | The bitmap of blocked signals. | *) |
|
sigignore : |
(* | The bitmap of ignored signals. | *) |
|
sigcatch : |
(* | The bitmap of caught signals. | *) |
|
wchan : |
(* | This is the "channel" in which the process is waiting. Address of a system call. | *) |
|
nswap : |
(* | (no longer maintained) | *) |
|
cnswap : |
(* | (no longer maintained) | *) |
|
exit_signal : |
(* | Signal sent to parent when we die. | *) |
|
processor : |
(* | CPU number last executed on. | *) |
|
rt_priority : |
(* | Real-time scheduling priority. | *) |
|
policy : |
(* | Scheduling policy | *) |
val policy : t -> Core.Int63.t
val rt_priority : t -> Core.Int63.t
val processor : t -> int
val exit_signal : t -> int
val cnswap : t -> Core.Int63.t
val nswap : t -> Core.Int63.t
val wchan : t -> Core.Int63.t
val sigcatch : t -> Core.Int63.t
val sigignore : t -> Core.Int63.t
val blocked : t -> Core.Int63.t
val signal : t -> Core.Int63.t
val kstkeip : t -> Core.Int63.t
val kstkesp : t -> Core.Int63.t
val startstack : t -> Core.Int63.t
val endcode : t -> Core.Int63.t
val startcode : t -> Core.Int63.t
val rlim : t -> Core.Int63.t
val rss : t -> Core.Int63.t
val vsize : t -> Core.Int63.t
val starttime : t -> Core.Int63.t
val itrealvalue : t -> Core.Int63.t
val unused : t -> Core.Int63.t
val nice : t -> Core.Int63.t
val priority : t -> Core.Int63.t
val cstime : t -> Core.Int63.t
val cutime : t -> Core.Int63.t
val stime : t -> Core.Int63.t
val utime : t -> Core.Int63.t
val cmajflt : t -> Core.Int63.t
val majflt : t -> Core.Int63.t
val cminflt : t -> Core.Int63.t
val minflt : t -> Core.Int63.t
val flags : t -> Core.Int63.t
val tpgid : t -> int
val tty_nr : t -> int
val session : t -> int
val pgrp : t -> Core.Std.Pid.t option
val ppid : t -> Core.Std.Pid.t option
val state : t -> char
val comm : t -> string
module Fields:sig
..end
val of_string : string -> t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t