pub fn cgroup_current(proc_root: &Path, cgroup_root: &Path) -> Option<u64>Expand description
The memory of the agent’s own cgroup v2 now (its memory.current, from its line in
<proc_root>/self/cgroup); None outside a cgroup v2 or where it can’t be read.