mirror of
https://github.com/criyle/go-sandbox.git
synced 2025-09-26 23:19:11 +08:00
15 lines
289 B
Go
15 lines
289 B
Go
package cgroup
|
|
|
|
const (
|
|
// systemd mounted cgroups
|
|
basePath = "/sys/fs/cgroup"
|
|
cgroupProcs = "cgroup.procs"
|
|
procCgroupsPath = "/proc/cgroups"
|
|
|
|
cgroupSubtreeControl = "cgroup.subtree_control"
|
|
cgroupControllers = "cgroup.controllers"
|
|
|
|
filePerm = 0644
|
|
dirPerm = 0755
|
|
)
|