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 sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val policy : t -> Procfs.bigint
val rt_priority : t -> Procfs.bigint
val processor : t -> int
val exit_signal : t -> int
val cnswap : t -> Procfs.bigint
val nswap : t -> Procfs.bigint
val wchan : t -> Procfs.bigint
val sigcatch : t -> Procfs.bigint
val sigignore : t -> Procfs.bigint
val blocked : t -> Procfs.bigint
val signal : t -> Procfs.bigint
val kstkeip : t -> Procfs.bigint
val kstkesp : t -> Procfs.bigint
val startstack : t -> Procfs.bigint
val endcode : t -> Procfs.bigint
val startcode : t -> Procfs.bigint
val rlim : t -> Procfs.bigint
val rss : t -> Procfs.bigint
val vsize : t -> Procfs.bigint
val starttime : t -> Procfs.bigint
val itrealvalue : t -> Procfs.bigint
val unused : t -> Procfs.bigint
val nice : t -> Procfs.bigint
val priority : t -> Procfs.bigint
val cstime : t -> Procfs.bigint
val cutime : t -> Procfs.bigint
val stime : t -> Procfs.bigint
val utime : t -> Procfs.bigint
val cmajflt : t -> Procfs.bigint
val majflt : t -> Procfs.bigint
val cminflt : t -> Procfs.bigint
val minflt : t -> Procfs.bigint
val flags : t -> Procfs.bigint
val tpgid : t -> int
val tty_nr : t -> int
val session : t -> int
val pgrp : t -> Core.Std.Pid.t
val ppid : t -> Core.Std.Pid.t option
val state : t -> char
val comm : t -> string
module Fields:sig
..end