1SYSTEMD-CGLS(1) systemd-cgls SYSTEMD-CGLS(1)
2
3
4
6 systemd-cgls - Recursively show control group contents
7
9 systemd-cgls [OPTIONS...] [CGROUP...]
10
11 systemd-cgls [OPTIONS...] --unit|--user-unit [UNIT...]
12
14 systemd-cgls recursively shows the contents of the selected Linux
15 control group hierarchy in a tree. If arguments are specified, shows
16 all member processes of the specified control groups plus all their
17 subgroups and their members. The control groups may either be specified
18 by their full file paths or are assumed in the systemd control group
19 hierarchy. If no argument is specified and the current working
20 directory is beneath the control group mount point /sys/fs/cgroup,
21 shows the contents of the control group the working directory refers
22 to. Otherwise, the full systemd control group hierarchy is shown.
23
24 By default, empty control groups are not shown.
25
27 The following options are understood:
28
29 --all
30 Do not hide empty control groups in the output.
31
32 -l, --full
33 Do not ellipsize process tree members.
34
35 -u, --unit
36 Show cgroup subtrees for the specified units.
37
38 --user-unit
39 Show cgroup subtrees for the specified user units.
40
41 -k
42 Include kernel threads in output.
43
44 -M MACHINE, --machine=MACHINE
45 Limit control groups shown to the part corresponding to the
46 container MACHINE.
47
48 -h, --help
49 Print a short help text and exit.
50
51 --version
52 Print a short version string and exit.
53
54 --no-pager
55 Do not pipe output into a pager.
56
58 On success, 0 is returned, a non-zero failure code otherwise.
59
61 systemd(1), systemctl(1), systemd-cgtop(1), systemd-nspawn(1), ps(1)
62
63
64
65systemd 246 SYSTEMD-CGLS(1)