module Sysinfo: sig
.. end
type
t = {
|
uptime :Span.t ; |
|
load1 :int ; |
|
load5 :int ; |
|
load15 :int ; |
|
total_ram :int ; |
|
free_ram :int ; |
|
shared_ram :int ; |
|
buffer_ram :int ; |
|
total_swap :int ; |
|
free_swap :int ; |
|
procs :int ; |
|
totalhigh :int ; |
|
freehigh :int ; |
|
mem_unit :int ; |
}
Result of sysinfo syscall (man 2 sysinfo)
val sysinfo : (unit -> t) Core_kernel.Std.Or_error.t
val bin_t : t Core_kernel.Std.Bin_prot.Type_class.t
val bin_read_t : t Core_kernel.Std.Bin_prot.Read.reader
val __bin_read_t__ : (int -> t) Core_kernel.Std.Bin_prot.Read.reader
val bin_reader_t : t Core_kernel.Std.Bin_prot.Type_class.reader
val bin_size_t : t Core_kernel.Std.Bin_prot.Size.sizer
val bin_write_t : t Core_kernel.Std.Bin_prot.Write.writer
val bin_writer_t : t Core_kernel.Std.Bin_prot.Type_class.writer
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t