Documentation ¶
Index ¶
Constants ¶
View Source
const UnifiedMountpoint = "/sys/fs/cgroup"
Variables ¶
This section is empty.
Functions ¶
func NewManager ¶
NewManager creates a manager for cgroup v2 unified hierarchy. dirPath is like "/sys/fs/cgroup/user.slice/user-1001.slice/session-1.scope". If dirPath is empty, it is automatically set using config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.