Skip to main content

unit_of_cgroup

Function unit_of_cgroup 

Source
pub fn unit_of_cgroup(rel: &str) -> Option<UnitId>
Expand description

The unit a cgroup path belongs to: the first <name>.service under system.slice, past any slices (a template’s instances sit in its own slice; a service’s sub-cgroups are its own). None for user sessions, the root, slices: changes from there are unattributed.