Module Core_extended.Procfs.Process

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 range: -17 to +15 *)

oom_score : int;

(** OOM "sacrifice" priority *)

}
include sig ... end
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.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.Pid.t
module Fields : sig ... end
val t_of_sexp : Sexplib.Sexp.t ‑> t
val sexp_of_t : t ‑> Sexplib.Sexp.t