Search

2.11. Obtaining Information About Control Groups

download PDF
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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.