summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/systemd-cgls.1
blob: 781d93079c59ebe26a5bc1c47a1a9c24ac881fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
'\" t
.TH "SYSTEMD\-CGLS" "1" "" "systemd 255" "systemd-cgls"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
systemd-cgls \- Recursively show control group contents
.SH "SYNOPSIS"
.HP \w'\fBsystemd\-cgls\fR\ 'u
\fBsystemd\-cgls\fR [OPTIONS...] [CGROUP...]
.HP \w'\fBsystemd\-cgls\fR\ 'u
\fBsystemd\-cgls\fR [OPTIONS...] \fB\-\-unit\fR|\fB\-\-user\-unit\fR [UNIT...]
.SH "DESCRIPTION"
.PP
\fBsystemd\-cgls\fR
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\&.
.PP
By default, empty control groups are not shown\&.
.SH "OPTIONS"
.PP
The following options are understood:
.PP
\fB\-\-all\fR
.RS 4
Do not hide empty control groups in the output\&.
.RE
.PP
\fB\-l\fR, \fB\-\-full\fR
.RS 4
Do not ellipsize process tree members\&.
.sp
Added in version 198\&.
.RE
.PP
\fB\-u\fR, \fB\-\-unit\fR
.RS 4
Show cgroup subtrees for the specified units\&.
.sp
Added in version 233\&.
.RE
.PP
\fB\-\-user\-unit\fR
.RS 4
Show cgroup subtrees for the specified user units\&.
.sp
Added in version 233\&.
.RE
.PP
\fB\-k\fR
.RS 4
Include kernel threads in output\&.
.RE
.PP
\fB\-M \fR\fB\fIMACHINE\fR\fR, \fB\-\-machine=\fR\fB\fIMACHINE\fR\fR
.RS 4
Limit control groups shown to the part corresponding to the container
\fIMACHINE\fR\&.
.sp
Added in version 203\&.
.RE
.PP
\fB\-x\fR, \fB\-\-xattr=\fR
.RS 4
Controls whether to include information about extended attributes of the listed control groups in the output\&. With the long option, expects a boolean value\&. Defaults to no\&.
.sp
Added in version 250\&.
.RE
.PP
\fB\-c\fR, \fB\-\-cgroup\-id=\fR
.RS 4
Controls whether to include the numeric ID of the listed control groups in the output\&. With the long option, expects a boolean value\&. Defaults to no\&.
.sp
Added in version 250\&.
.RE
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Print a short help text and exit\&.
.RE
.PP
\fB\-\-version\fR
.RS 4
Print a short version string and exit\&.
.RE
.PP
\fB\-\-no\-pager\fR
.RS 4
Do not pipe output into a pager\&.
.RE
.SH "EXIT STATUS"
.PP
On success, 0 is returned, a non\-zero failure code otherwise\&.
.SH "SEE ALSO"
.PP
\fBsystemd\fR(1),
\fBsystemctl\fR(1),
\fBsystemd-cgtop\fR(1),
\fBsystemd-nspawn\fR(1),
\fBps\fR(1)