table of contents
- bookworm 252.30-1~deb12u2
- bookworm-backports 254.16-1~bpo12+1
- testing 256.7-2
- unstable 256.7-2
SYSTEMD-CGLS(1) | systemd-cgls | SYSTEMD-CGLS(1) |
NAME¶
systemd-cgls - Recursively show control group contents
SYNOPSIS¶
systemd-cgls [OPTIONS...] [CGROUP...]
systemd-cgls [OPTIONS...] --unit|--user-unit [UNIT...]
DESCRIPTION¶
systemd-cgls recursively shows the contents of the selected Linux control group hierarchy in a tree. If arguments are specified, shows all member processes of the specified control groups plus all their subgroups and their members. The control groups may either be specified by their full file paths or are assumed in the systemd control group hierarchy. If no argument is specified and the current working directory is beneath the control group mount point /sys/fs/cgroup/, shows the contents of the control group the working directory refers to. Otherwise, the full systemd control group hierarchy is shown.
By default, empty control groups are not shown.
OPTIONS¶
The following options are understood:
--all
-l, --full
Added in version 198.
-u, --unit
Added in version 233.
--user-unit
Added in version 233.
-k
-M MACHINE, --machine=MACHINE
Added in version 203.
-x, --xattr=
Added in version 250.
-c, --cgroup-id=
Added in version 250.
-h, --help
--version
--no-pager
EXIT STATUS¶
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO¶
systemd(1), systemctl(1), systemd-cgtop(1), systemd-nspawn(1), ps(1)
systemd 256 |