Trait cgroups_rs::Hierarchy [−][src]
Control group hierarchy (right now, only V1 is supported, but in the future Unified will be implemented as well).
Required methods
fn subsystems(&self) -> Vec<Subsystem>
[src]
Returns what subsystems are supported by the hierarchy.
fn root(&self) -> PathBuf
[src]
Returns the root directory of the hierarchy.
fn root_control_group(&self) -> Cgroup
[src]
Return a handle to the root control group in the hierarchy.