shadow_rs::core::resource_usage

Function meminfo

source
pub fn meminfo(file: &mut File) -> Result<MemInfo>
Expand description

Collects some of the fields from ‘/proc/meminfo’. This function will seek to the start of the file before reading.