Lukas' Notes

operating-systems virtualisation

Definition

Cgroup

A cgroup is a Linux kernel feature that organises processes into hierarchical groups and limits or monitors their consumption of resources such as CPU time, system memory, and network bandwidth.

Creation

Creating cgroups

Cgroups can be created by mounting and writing to the cgroup virtual filesystem (cgroupfs), or by using utilities from libcgroup such as cgcreate and cgexec.