package core_extended

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. comm : string;
    (*

    The filename of the executable

    *)
  2. state : char;
    (*

    One character from the string "RSDZTW"

    *)
  3. ppid : Core.Pid.t option;
    (*

    The PID of the parent.

    *)
  4. pgrp : Core.Pid.t option;
    (*

    The process group ID of the process.

    *)
  5. session : int;
    (*

    The session ID of the process.

    *)
  6. tty_nr : int;
    (*

    The tty the process uses.

    *)
  7. tpgid : int;
    (*

    The process group ID of the process which currently owns the tty...

    *)
  8. flags : bigint;
    (*

    The kernel flags word of the process.

    *)
  9. minflt : bigint;
    (*

    The number of minor faults the process has made which have not required loading a memory page from disk.

    *)
  10. cminflt : bigint;
    (*

    The number of minor faults that the process’s waited-for children have made.

    *)
  11. majflt : bigint;
    (*

    The number of major faults the process has made which have required loading a page from disk.

    *)
  12. cmajflt : bigint;
    (*

    The number of major faults that the process’s waited-for children have made.

    *)
  13. utime : bigint;
    (*

    The number of jiffies that this process has been scheduled in user mode.

    *)
  14. stime : bigint;
    (*

    The number of jiffies that this process has been scheduled in kernel mode.

    *)
  15. cutime : bigint;
    (*

    The number of jiffies that this process’s waited-for children have been scheduled in user mode.

    *)
  16. cstime : bigint;
    (*

    The number of jiffies that this process’s waited-for children have been scheduled in kernel mode.

    *)
  17. priority : bigint;
    (*

    The standard nice value, plus fifteen. The value is never negative in the kernel.

    *)
  18. nice : bigint;
    (*

    The nice value ranges from 19 to -19

    *)
  19. unused : bigint;
    (*

    placeholder for removed field

    *)
  20. itrealvalue : bigint;
    (*

    The time in jiffies before the next SIGALRM is sent to the process due to an interval timer.

    *)
  21. starttime : bigint;
    (*

    The time in jiffies the process started after system boot.

    *)
  22. vsize : bigint;
    (*

    Virtual memory size in bytes.

    *)
  23. rss : bigint;
    (*

    Resident Set Size: number of pages the process has in real memory.

    *)
  24. rlim : bigint;
    (*

    Current limit in bytes on the rss of the process.

    *)
  25. startcode : bigint;
    (*

    The address above which program text can run.

    *)
  26. endcode : bigint;
    (*

    The address below which program text can run.

    *)
  27. startstack : bigint;
    (*

    The address of the start of the stack.

    *)
  28. kstkesp : bigint;
    (*

    The current value of esp (stack pointer)

    *)
  29. kstkeip : bigint;
    (*

    The current value of eip (instruction pointer)

    *)
  30. signal : bigint;
    (*

    The bitmap of pending signals.

    *)
  31. blocked : bigint;
    (*

    The bitmap of blocked signals.

    *)
  32. sigignore : bigint;
    (*

    The bitmap of ignored signals.

    *)
  33. sigcatch : bigint;
    (*

    The bitmap of caught signals.

    *)
  34. wchan : bigint;
    (*

    This is the "channel" in which the process is waiting. Address of a system call.

    *)
  35. nswap : bigint;
    (*

    (no longer maintained)

    *)
  36. cnswap : bigint;
    (*

    (no longer maintained)

    *)
  37. exit_signal : int;
    (*

    Signal sent to parent when we die.

    *)
  38. processor : int;
    (*

    CPU number last executed on.

    *)
  39. rt_priority : bigint;
    (*

    Real-time scheduling priority.

    *)
  40. policy : bigint;
    (*

    Scheduling policy

    *)
}
include sig ... end
val policy : t -> bigint
val rt_priority : t -> bigint
val processor : t -> int
val exit_signal : t -> int
val cnswap : t -> bigint
val nswap : t -> bigint
val wchan : t -> bigint
val sigcatch : t -> bigint
val sigignore : t -> bigint
val blocked : t -> bigint
val signal : t -> bigint
val kstkeip : t -> bigint
val kstkesp : t -> bigint
val startstack : t -> bigint
val endcode : t -> bigint
val startcode : t -> bigint
val rlim : t -> bigint
val rss : t -> bigint
val vsize : t -> bigint
val starttime : t -> bigint
val itrealvalue : t -> bigint
val unused : t -> bigint
val nice : t -> bigint
val priority : t -> bigint
val cstime : t -> bigint
val cutime : t -> bigint
val stime : t -> bigint
val utime : t -> bigint
val cmajflt : t -> bigint
val majflt : t -> bigint
val cminflt : t -> bigint
val minflt : t -> bigint
val flags : t -> bigint
val tpgid : t -> int
val tty_nr : t -> int
val session : t -> int
val pgrp : t -> Core.Pid.t option
val ppid : t -> Core.Pid.t option
val state : t -> char
val comm : t -> string
module Fields : sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val extract_command : string -> [ `command of string ] * [ `rest of string ]
val of_string : string -> t
OCaml

Innovation. Community. Security.