pub fn parse_proc_cgroup(contents: &str) -> CgroupInfoExpand description
Parse the contents of /proc/pid/cgroup.
For cgroupv2: the line is 0::<path>.
For cgroupv1: hierarchy-ID is non-zero and controller-list is non-empty.
pub fn parse_proc_cgroup(contents: &str) -> CgroupInfoParse the contents of /proc/pid/cgroup.
For cgroupv2: the line is 0::<path>.
For cgroupv1: hierarchy-ID is non-zero and controller-list is non-empty.