package cgroups

  1. Overview
  2. Docs
type stat = {
  1. cache : int;
  2. rss : int;
  3. mapped_file : int;
  4. pgpgin : int;
  5. pgpgout : int;
  6. swap : int;
  7. active_anon : int;
  8. inactive_anon : int;
  9. active_file : int;
  10. inactive_file : int;
  11. unevictable : int;
  12. total_cache : int;
  13. total_rss : int;
  14. total_mapped_file : int;
  15. total_pgpgin : int;
  16. total_pgpgout : int;
  17. total_swap : int;
  18. total_active_anon : int;
  19. total_inactive_anon : int;
  20. total_active_file : int;
  21. total_inactive_file : int;
  22. total_unevictable : int;
  23. hierarchical_memory_limit : int;
  24. hierarchical_memsw_limit : int;
}
type oom_control = {
  1. oom_kill_disable : bool;
  2. under_oom : bool;
}
val stat : (stat, [ `Get ]) CGParameters.t
val usage_in_bytes : (int, [ `Get ]) CGParameters.t
val memsw_usage_in_bytes : (int, [ `Get ]) CGParameters.t
val max_usage_in_bytes : (int, [ `Get ]) CGParameters.t
val memsw_max_usage_in_bytes : (int, [ `Get ]) CGParameters.t
val limit_in_bytes : (int, [ `Get | `Set ]) CGParameters.t
val memsw_ : 'a -> (int, [ `Get | `Set ]) CGParameters.t
val failcnt : (int, [ `Get ]) CGParameters.t
val memsw_failcnt : (int, [ `Get ]) CGParameters.t
val soft_limit_in_bytes : (int, [ `Get | `Set ]) CGParameters.t
val force_empty : (int, [ `Get | `Reset ]) CGParameters.t
val swappiness : (int, [ `Get | `Set ]) CGParameters.t
val move_charge_at_immigrate : (bool, [ `Get | `Set ]) CGParameters.t
val use_hierarchy : (bool, [ `Get | `Set ]) CGParameters.t
val oom_control : (oom_control, [ `Get | `Set ]) CGParameters.t