1SYSTEMD-CGLS(1)                  systemd-cgls                  SYSTEMD-CGLS(1)
2
3
4

NAME

6       systemd-cgls - Recursively show control group contents
7

SYNOPSIS

9       systemd-cgls [OPTIONS...] [CGROUP...]
10
11       systemd-cgls [OPTIONS...] --unit|--user-unit [UNIT...]
12

DESCRIPTION

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

OPTIONS

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       --xattr=
49           Controls whether to include information about extended attributes
50           of the listed control groups in the output. Expects a boolean
51           value, defaults to yes.
52
53       --cgroup-id=
54           Controls whether to include the numeric ID of the listed control
55           groups in the output. Expects a boolean value, defaults to yes.
56
57       -h, --help
58           Print a short help text and exit.
59
60       --version
61           Print a short version string and exit.
62
63       --no-pager
64           Do not pipe output into a pager.
65

EXIT STATUS

67       On success, 0 is returned, a non-zero failure code otherwise.
68

SEE ALSO

70       systemd(1), systemctl(1), systemd-cgtop(1), systemd-nspawn(1), ps(1)
71
72
73
74systemd 250                                                    SYSTEMD-CGLS(1)
Impressum