Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

2.11. Obtaining Information About Control Groups

There are several ways to find and monitor control groups, subsystems, and hierarchies configured on your system.

2.11.1. Finding a Process

To find the cgroup to which a process belongs, run:
~]$ ps -O cgroup
Or, if you know the PID for the process, run:
~]$ cat /proc/PID/cgroup
where PID stands for a PID of the inspected process.