Struct procfs::CGroupController[][src]

pub struct CGroupController {
    pub name: String,
    pub hierarchy: u32,
    pub num_cgroups: u32,
    pub enabled: bool,
}

Fields

The name of the controller.

The unique ID of the cgroup hierarchy on which this controller is mounted.

If multiple cgroups v1 controllers are bound to the same hierarchy, then each will show the same hierarchy ID in this field. The value in this field will be 0 if:

  • the controller is not mounted on a cgroups v1 hierarchy;
  • the controller is bound to the cgroups v2 single unified hierarchy; or
  • the controller is disabled (see below).

The number of control groups in this hierarchy using this controller.

This field contains the value true if this controller is enabled, or false if it has been disabled

Trait Implementations

impl Debug for CGroupController
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations