8.1 About cgroups

A cgroup is a collection of processes (tasks) that you bind together by applying a set of criteria that control the cgroup's access to system resources. You can create a hierarchy of cgroups, in which child cgroups inherits its characteristics from the parent cgroup. You can use cgroups to manage processes in the following ways:

You can create and manage cgroups in the following ways:

Because you might ultimately want to deploy cgroups in a production environment, this chapter demonstrates how to configure cgroups by editing the /etc/cgconfig.conf and /etc/cgrules.conf files, and how to configure PAM to associate processes with cgroups.

Note

To use cgroups, you must install the libcgroup package on your system.