package fs2
import "github.com/opencontainers/runc/libcontainer/cgroups/fs2"
Index ¶
- Constants
- func CreateCgroupPath(path string, c *configs.Cgroup) (Err error)
- func NewManager(config *configs.Cgroup, dirPath string) (cgroups.Manager, error)
- func OOMKillCount(path string) (uint64, error)
Constants ¶
const UnifiedMountpoint = "/sys/fs/cgroup"
Functions ¶
func CreateCgroupPath ¶
CreateCgroupPath creates cgroupv2 path, enabling all the supported controllers.
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.
func OOMKillCount ¶
Source Files ¶
cpu.go cpuset.go create.go defaultpath.go devices.go freezer.go fs2.go hugetlb.go io.go memory.go pids.go
- Version
- v1.1.15
- Published
- Oct 4, 2024
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 1 hour ago –
Tools for package owners.