pub struct ProcMeminfo {Show 46 fields
pub mem_total: KiloBytes,
pub mem_free: KiloBytes,
pub mem_available: KiloBytes,
pub buffers: KiloBytes,
pub cached: KiloBytes,
pub swap_cached: KiloBytes,
pub active: KiloBytes,
pub inactive: KiloBytes,
pub active_anon: KiloBytes,
pub inactive_anon: KiloBytes,
pub active_file: KiloBytes,
pub inactive_file: KiloBytes,
pub unevictable: KiloBytes,
pub mlocked: KiloBytes,
pub swap_total: KiloBytes,
pub swap_free: KiloBytes,
pub dirty: KiloBytes,
pub writeback: KiloBytes,
pub anon_pages: KiloBytes,
pub mapped: KiloBytes,
pub shmem: KiloBytes,
pub slab: KiloBytes,
pub sreclaimable: KiloBytes,
pub sunreclaimable: KiloBytes,
pub kernel_stack: KiloBytes,
pub page_tables: KiloBytes,
pub nfs_unstable: KiloBytes,
pub bounce: KiloBytes,
pub writeback_tmp: KiloBytes,
pub commit_limit: KiloBytes,
pub committed_as: KiloBytes,
pub vmalloc_total: KiloBytes,
pub vmalloc_used: KiloBytes,
pub vmalloc_chunk: KiloBytes,
pub hardware_corrupted: KiloBytes,
pub anon_huge_pages: KiloBytes,
pub cma_total: KiloBytes,
pub cma_free: KiloBytes,
pub huge_pages_total: usize,
pub huge_pages_free: usize,
pub huge_pages_rsvd: usize,
pub huge_pages_surp: usize,
pub huge_page_size: KiloBytes,
pub direct_map_4k: KiloBytes,
pub direct_map_2m: KiloBytes,
pub direct_map_1g: KiloBytes,
}
Fields
mem_total: KiloBytes
mem_free: KiloBytes
mem_available: KiloBytes
buffers: KiloBytes
cached: KiloBytes
swap_cached: KiloBytes
active: KiloBytes
inactive: KiloBytes
active_anon: KiloBytes
inactive_anon: KiloBytes
active_file: KiloBytes
inactive_file: KiloBytes
unevictable: KiloBytes
mlocked: KiloBytes
swap_total: KiloBytes
swap_free: KiloBytes
dirty: KiloBytes
writeback: KiloBytes
anon_pages: KiloBytes
mapped: KiloBytes
shmem: KiloBytes
slab: KiloBytes
sreclaimable: KiloBytes
sunreclaimable: KiloBytes
kernel_stack: KiloBytes
page_tables: KiloBytes
nfs_unstable: KiloBytes
bounce: KiloBytes
writeback_tmp: KiloBytes
commit_limit: KiloBytes
committed_as: KiloBytes
vmalloc_total: KiloBytes
vmalloc_used: KiloBytes
vmalloc_chunk: KiloBytes
hardware_corrupted: KiloBytes
anon_huge_pages: KiloBytes
cma_total: KiloBytes
cma_free: KiloBytes
huge_pages_total: usize
huge_pages_free: usize
huge_pages_rsvd: usize
huge_pages_surp: usize
huge_page_size: KiloBytes
direct_map_4k: KiloBytes
direct_map_2m: KiloBytes
direct_map_1g: KiloBytes
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProcMeminfo
impl Send for ProcMeminfo
impl Sync for ProcMeminfo
impl Unpin for ProcMeminfo
impl UnwindSafe for ProcMeminfo
Blanket Implementations
Mutably borrows from an owned value. Read more