Skip to main content

proportional_bytes

Function proportional_bytes 

Source
pub fn proportional_bytes(rollup: &str) -> Option<u64>
Expand description

processMemoryBytes of a /proc/<pid>/smaps_rollup text: Pss_Anon + Pss_Shmem + SwapPss, where a page shared by N processes counts 1/N in each; none when the rollup has no Pss_Anon (before Linux 5.9: fall back to the status).