Cgroups (abbreviated from control groups) is a Linux kernel feature that limits, accounts for, and isolates the resource usage of a collection of processes. Cgroups allow you to allocate resources — such as CPU time, system memory, network bandwidth, or combinations of these resources — among user-defined groups of processes. In order to use cgroups in Linux, you need to mount the cgroup filesystem and assign the cgroup controllers you wish to use. You can then create cgroups, assign processes to them, set resource limits and monitor their usage. You can also arrange cgroups in a hierarchy to define resource limits across subgroups.