Module Procfs.KstatSource

Sourcetype index_t =
  1. | All
  2. | Number of int
Sourceval sexp_of_index_t : index_t -> Sexplib0.Sexp.t
Sourcetype cpu_t = {
  1. user : bigint;
  2. nice : bigint;
  3. sys : bigint;
  4. idle : bigint;
  5. iowait : bigint option;
  6. irq : bigint option;
  7. softirq : bigint option;
  8. steal : bigint option;
  9. guest : bigint option;
  10. guest_nice : bigint option;
}
Sourceval sexp_of_cpu_t : cpu_t -> Sexplib0.Sexp.t
Sourcetype t = index_t * cpu_t
Sourceval load_exn : unit -> t list