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 oom_score : t -> intval oom_adj : t -> intval fds : t -> Fd.t list optionval top_command : t -> stringval task_stats : t -> Stat.t Core.Std.Pid.Map.tval status : t -> Status.tval statm : t -> Statm.tval stat : t -> Stat.tval limits : t -> Limits.t optionval root : t -> string optionval exe : t -> string optionval environ : t -> string optionval cwd : t -> string optionval cmdline : t -> stringval pid : t -> Core.Std.Pid.tmodule Fields:sig..end
val t_of_sexp : Sexplib.Sexp.t -> tval sexp_of_t : t -> Sexplib.Sexp.t