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