|
@@ -20,6 +20,7 @@ type Cgroup struct {
|
|
CpuQuota int64 `json:"cpu_quota,omitempty"` // CPU hardcap limit (in usecs). Allowed cpu time in a given period.
|
|
CpuQuota int64 `json:"cpu_quota,omitempty"` // CPU hardcap limit (in usecs). Allowed cpu time in a given period.
|
|
CpuPeriod int64 `json:"cpu_period,omitempty"` // CPU period to be used for hardcapping (in usecs). 0 to use system default.
|
|
CpuPeriod int64 `json:"cpu_period,omitempty"` // CPU period to be used for hardcapping (in usecs). 0 to use system default.
|
|
CpusetCpus string `json:"cpuset_cpus,omitempty"` // CPU to use
|
|
CpusetCpus string `json:"cpuset_cpus,omitempty"` // CPU to use
|
|
|
|
+ Freezer string `json:"freezer,omitempty"` // set the freeze value for the process
|
|
|
|
|
|
UnitProperties [][2]string `json:"unit_properties,omitempty"` // systemd unit properties
|
|
UnitProperties [][2]string `json:"unit_properties,omitempty"` // systemd unit properties
|
|
}
|
|
}
|