module Process:sig
..end
module Inode:sig
..end
module Limits:sig
..end
module Stat:sig
..end
module Statm:sig
..end
module Status:sig
..end
module Fd:sig
..end
type
t = {
|
pid : |
(* | Process ID | *) |
|
cmdline : |
(* | Command-line (not reliable). | *) |
|
cwd : |
(* | Symlink to working directory. | *) |
|
environ : |
(* | Process environment. | *) |
|
exe : |
(* | Symlink to executed command. | *) |
|
root : |
(* | Per-process root (e.g. chroot) | *) |
|
limits : |
(* | Per-process rlimit settings | *) |
|
stat : |
(* | Status information. | *) |
|
statm : |
(* | Memory status information. | *) |
|
status : |
(* | Some more assorted status information. | *) |
|
task_stats : |
(* | Status information for each task (thread) | *) |
|
top_command : |
(* | Show what top would show for COMMAND | *) |
|
fds : |
(* | File descriptors | *) |
|
oom_adj : |
(* | OOM killer niceness range: -17 to +15 | *) |
|
oom_score : |
(* | OOM "sacrifice" priority | *) |
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val oom_score : t -> int
val oom_adj : t -> int
val fds : t -> Fd.t list option
val top_command : t -> string
val task_stats : t -> Stat.t Core.Std.Pid.Map.t
val status : t -> Status.t
val statm : t -> Statm.t
val stat : t -> Stat.t
val limits : t -> Limits.t option
val root : t -> string option
val exe : t -> string option
val environ : t -> string option
val cwd : t -> string option
val cmdline : t -> string
val pid : t -> Core.Std.Pid.t
module Fields:sig
..end