package cgroups

  1. Overview
  2. Docs
type t
type cgroup
val equal : t -> t -> bool
val cgroup_equal : cgroup -> cgroup -> bool
val is_root : cgroup -> bool
val root : t -> cgroup
val path : cgroup -> string
val subsys : cgroup -> CGSubsystem.t list
val find : string -> cgroup option
val find_exn : string -> cgroup
val find_all : CGSubsystem.t list -> t list
val children : cgroup -> cgroup list
val mk_sub : cgroup -> string -> Unix.file_perm -> cgroup
val processes : cgroup -> int list
val add_process : cgroup -> int -> unit
val process_info : int -> cgroup list
OCaml

Innovation. Community. Security.