type t
=
{
mem_total : bigint; |
mem_free : bigint; |
buffers : bigint; |
cached : bigint; |
swap_cached : bigint; |
active : bigint; |
inactive : bigint; |
swap_total : bigint; |
swap_free : bigint; |
dirty : bigint; |
writeback : bigint; |
anon_pages : bigint; |
mapped : bigint; |
slab : bigint; |
page_tables : bigint; |
nfs_unstable : bigint; |
bounce : bigint; |
commit_limit : bigint; |
committed_as : bigint; |
vmalloc_total : bigint; |
vmalloc_used : bigint; |
vmalloc_chunk : bigint; |
mem_available : bigint Core.sexp_option; |
}
t
corresponds to the values in /proc/meminfo. All values in bytes.
include sig ... end
val mem_available : t ‑> bigint Core.sexp_option
module Fields : sig ... end
val t_of_sexp : Sexplib.Sexp.t ‑> t
val sexp_of_t : t ‑> Sexplib.Sexp.t