Skip to main content

Module cgroup

Module cgroup 

Source
Expand description

cgroup v2 conventions and management trait.

Defines the shared cgroup hierarchy layout that both pact and lattice use, regardless of which system creates it.

Modules§

slices
Well-known cgroup slice paths.

Structs§

CgroupHandle
Opaque handle to a created cgroup scope.
CgroupMetrics
Metrics read from a cgroup.
ResourceLimits
Resource limits for a cgroup scope.

Enums§

CgroupError
Errors from cgroup operations.
SliceOwner
cgroup slice ownership — who has exclusive write access.

Traits§

CgroupManager
Trait for cgroup hierarchy management.

Functions§

slice_owner
Returns the owner of a given cgroup path.