Difference between revisions of "Cgcreate"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
  cgcreate -g memory:myGroup
 
  cgcreate -g memory:myGroup
 +
 +
 +
 +
{| class="wikitable"
 +
! Controller !! Can be controlled by user !! Options
 +
|-
 +
| cpu || {{Y|Requires delegation}} || CPUAccounting, CPUWeight, CPUQuota, AllowedCPUs, AllowedMemoryNodes
 +
|-
 +
| io || {{Y|Requires delegation}} || IOWeight, IOReadBandwidthMax, IOWriteBandwidthMax, IODeviceLatencyTargetSec
 +
|-
 +
| memory || {{Yes}} || MemoryLow, MemoryHigh, MemoryMax, MemorySwapMax
 +
|-
 +
| pids || {{Yes}} || TasksMax
 +
|-
 +
| rdma || {{No}} || ?
 +
|-
 +
| eBPF || {{No}} || IPAddressDeny, DeviceAllow, DevicePolicy
 +
|}
 +
 +
  
 
== Related commands ==
 
== Related commands ==

Revision as of 05:58, 22 May 2020

cgcreate command is included in the cgroup-tools packages https://linux.die.net/man/1/cgcreate


cgcreate -g memory:myGroup


Controller Can be controlled by user Options
cpu Y Combinator CPUAccounting, CPUWeight, CPUQuota, AllowedCPUs, AllowedMemoryNodes
io Y Combinator 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: