#[repr(C)]pub struct MemInfo {
pub total: u64,
pub free: u64,
pub avail: u64,
pub buffers: u64,
pub cached: u64,
pub swap_total: u64,
pub swap_free: u64,
}
Expand description
System memory information.
Fields§
§total: u64
Total physical memory.
free: u64
§avail: u64
§buffers: u64
§cached: u64
§swap_total: u64
Total swap memory.
swap_free: u64