Function sys_metrics::memory::get_memory[][src]

pub fn get_memory() -> Result<Memory, Error>
Expand description

Return the Memory struct.

Note that used is computed from Total, Free, Buffers and Cached (which is Cached + SReclaimable).