Display control groups and the processes inside them.

Section: Control Groups and Unit Trees

Show cgroup tree

bash
bash
systemd-cgls
Explanation

Display control groups and the processes inside them.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Control Groups and Unit Trees
Top view for cgroups
Show top cgroups by CPU, memory, and I/O load.
OpenIn sheetbashsame section
Show service cgroup path
Reveal the cgroup path tied to a unit.
OpenIn sheetbashsame section
Show user sessions
Inspect active user sessions and seats under systemd-logind.
OpenIn sheetbashsame section
Inspect one session
Inspect one logind session in detail.
OpenIn sheetbashsame section
Show service status
Show status, recent logs, and the service main PID.
Start a service
Start a service unit.