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 : 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 ... end
val oom_score : t ‑> int
val oom_adj : t ‑> int
val top_command : t ‑> string
val task_stats : t ‑> Stat.t Core.Pid.Map.t
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.Pid.t
module Fields : sig ... end
val t_of_sexp : Base.Sexp.t ‑> t
val sexp_of_t : t ‑> Base.Sexp.t