Module cgroups_rs::hierarchies[][src]

This module represents the various control group hierarchies the Linux kernel supports.

Currently, we only support the cgroupv1 hierarchy, but in the future we will add support for the Unified Hierarchy.

Structs

Mountinfo

Process mounts information.

V1

The standard, original cgroup implementation. Often referred to as “cgroupv1”.

V2

Constants

INIT_CGROUP_PATHS
UNIFIED_MOUNTPOINT

Functions

auto
is_cgroup2_unified_mode
mountinfo_self

Returns mounts information for the current process.