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

EXIT STATUS

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

SEE ALSO

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