]>
Commit | Line | Data |
---|---|---|
fa776d8e LP |
1 | <?xml version='1.0'?> <!--*-nxml-*--> |
2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" | |
681eb9cf FB |
3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ |
4 | <!ENTITY % entities SYSTEM "custom-entities.ent" > | |
5 | %entities; | |
6 | ]> | |
fa776d8e LP |
7 | |
8 | <!-- | |
9 | This file is part of systemd. | |
10 | ||
11 | Copyright 2010 Lennart Poettering | |
12 | ||
13 | systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
14 | under the terms of the GNU Lesser General Public License as published by |
15 | the Free Software Foundation; either version 2.1 of the License, or | |
fa776d8e LP |
16 | (at your option) any later version. |
17 | ||
18 | systemd is distributed in the hope that it will be useful, but | |
19 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
5430f7f2 | 21 | Lesser General Public License for more details. |
fa776d8e | 22 | |
5430f7f2 | 23 | You should have received a copy of the GNU Lesser General Public License |
fa776d8e LP |
24 | along with systemd; If not, see <http://www.gnu.org/licenses/>. |
25 | --> | |
26 | ||
dfdebb1b | 27 | <refentry id="systemd-cgls" |
798d3a52 ZJS |
28 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
29 | ||
30 | <refentryinfo> | |
31 | <title>systemd-cgls</title> | |
32 | <productname>systemd</productname> | |
33 | ||
34 | <authorgroup> | |
35 | <author> | |
36 | <contrib>Developer</contrib> | |
37 | <firstname>Lennart</firstname> | |
38 | <surname>Poettering</surname> | |
39 | <email>lennart@poettering.net</email> | |
40 | </author> | |
41 | </authorgroup> | |
42 | </refentryinfo> | |
43 | ||
44 | <refmeta> | |
45 | <refentrytitle>systemd-cgls</refentrytitle> | |
46 | <manvolnum>1</manvolnum> | |
47 | </refmeta> | |
48 | ||
49 | <refnamediv> | |
50 | <refname>systemd-cgls</refname> | |
51 | <refpurpose>Recursively show control group contents</refpurpose> | |
52 | </refnamediv> | |
53 | ||
54 | <refsynopsisdiv> | |
55 | <cmdsynopsis> | |
56 | <command>systemd-cgls</command> | |
57 | <arg choice="opt" rep="repeat">OPTIONS</arg> | |
58 | <arg choice="opt" rep="repeat">CGROUP</arg> | |
59 | </cmdsynopsis> | |
60 | </refsynopsisdiv> | |
61 | ||
62 | <refsect1> | |
63 | <title>Description</title> | |
64 | ||
65 | <para><command>systemd-cgls</command> recursively shows the | |
66 | contents of the selected Linux control group hierarchy in a tree. | |
67 | If arguments are specified, shows all member processes of the | |
68 | specified control groups plus all their subgroups and their | |
69 | members. The control groups may either be specified by their full | |
70 | file paths or are assumed in the systemd control group hierarchy. | |
71 | If no argument is specified and the current working directory is | |
72 | beneath the control group mount point | |
73 | <filename>/sys/fs/cgroup</filename>, shows the contents of the | |
74 | control group the working directory refers to. Otherwise, the full | |
75 | systemd control group hierarchy is shown.</para> | |
76 | ||
77 | <para>By default, empty control groups are not shown.</para> | |
78 | </refsect1> | |
79 | ||
80 | <refsect1> | |
81 | <title>Options</title> | |
82 | ||
83 | <para>The following options are understood:</para> | |
84 | ||
85 | <variablelist> | |
86 | <varlistentry> | |
87 | <term><option>--all</option></term> | |
88 | ||
89 | <listitem><para>Do not hide empty control groups in the | |
90 | output.</para></listitem> | |
91 | </varlistentry> | |
92 | ||
93 | <varlistentry> | |
94 | <term><option>-l</option></term> | |
95 | <term><option>--full</option></term> | |
96 | ||
97 | <listitem><para>Do not ellipsize process tree members.</para> | |
98 | </listitem> | |
99 | </varlistentry> | |
100 | ||
101 | <varlistentry> | |
102 | <term><option>-k</option></term> | |
103 | ||
104 | <listitem><para>Include kernel threads in output. | |
105 | </para></listitem> | |
106 | </varlistentry> | |
107 | ||
108 | <varlistentry> | |
109 | <term><option>-M <replaceable>MACHINE</replaceable></option></term> | |
110 | <term><option>--machine=<replaceable>MACHINE</replaceable></option></term> | |
111 | ||
112 | <listitem><para>Limit control groups shown to the part | |
113 | corresponding to the container | |
114 | <replaceable>MACHINE</replaceable>.</para></listitem> | |
115 | </varlistentry> | |
116 | ||
117 | <xi:include href="standard-options.xml" xpointer="help" /> | |
118 | <xi:include href="standard-options.xml" xpointer="version" /> | |
119 | <xi:include href="standard-options.xml" xpointer="no-pager" /> | |
120 | </variablelist> | |
121 | ||
122 | </refsect1> | |
123 | ||
124 | <refsect1> | |
125 | <title>Exit status</title> | |
126 | ||
127 | <para>On success, 0 is returned, a non-zero failure code | |
128 | otherwise.</para> | |
129 | </refsect1> | |
130 | ||
131 | <refsect1> | |
132 | <title>See Also</title> | |
133 | <para> | |
134 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
135 | <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
136 | <citerefentry><refentrytitle>systemd-cgtop</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
137 | <citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
138 | <citerefentry project='man-pages'><refentrytitle>ps</refentrytitle><manvolnum>1</manvolnum></citerefentry> | |
139 | </para> | |
140 | </refsect1> | |
fa776d8e LP |
141 | |
142 | </refentry> |