Cgcreate
Jump to navigation
Jump to search
cgcreate
command is included in the cgroup-tools packages https://linux.die.net/man/1/cgcreate
cgcreate -g memory:myGroup
cgexec -g memory:myGroup PROGRAM_TO_EXECUTE
Controller | Can be controlled by user | Options |
---|---|---|
cpu | Yes (Requires delegation) | CPUAccounting, CPUWeight, CPUQuota, AllowedCPUs, AllowedMemoryNodes |
io | Yes (Requires delegation) | IOWeight, IOReadBandwidthMax, IOWriteBandwidthMax, IODeviceLatencyTargetSec |
memory | Yes | MemoryLow, MemoryHigh, MemoryMax, MemorySwapMax |
pids | Yes | TasksMax |
rdma | No | ? |
eBPF | No | IPAddressDeny, DeviceAllow, DevicePolicy |
Related commands
See also
Advertising: