pub fn group_memory(
proc_root: &Path,
pgid: i32,
rss_fallback: bool,
) -> Option<u64>Expand description
The memory of the processes in group pgid, in bytes (PSS, else RSS where
rss_fallback); 0 when none is left. A zombie counts as nothing. None when a process’s PSS can’t be read and RSS
mustn’t stand in: a forked process’s RSS counts the pages it shares with its fork server
(most of the server’s), so it would look far bigger than it is.