summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2013-07-18 13:24:12 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-18 19:50:04 +0200
commit9b9b3d36b8ffe5b41c1455bffd44a9d11efc8aee (patch)
tree5e29ce5443ddd226d0e15beacbc9388327e7ccf1 /man
parent44bc6e1fe0171af19451b5586f7fdd08853ccf5b (diff)
systemctl: option to list units by state
This allows to show only units with specified LOAD or SUB or ACTIVE state.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml29
1 files changed, 12 insertions, 17 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index f5502153a..982051778 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -94,19 +94,13 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
<listitem>
<para>The argument should be a comma-separated list of unit
types such as <option>service</option> and
- <option>socket</option>, or unit load states such as
- <option>loaded</option> and <option>masked</option>
- (types and states can be mixed).</para>
+ <option>socket</option>.
+ </para>
<para>If one of the arguments is a unit type, when listing
units, limit display to certain unit types. Otherwise, units
of all types will be shown.</para>
- <para>If one of the arguments is a unit load state, when
- listing units, limit display to certain unit
- types. Otherwise, units of in all load states will be
- shown.</para>
-
<para>As a special case, if one of the arguments is
<option>help</option>, a list of allowed values will be
printed and the program will exit.</para>
@@ -114,6 +108,16 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
+ <term><option>--state=</option></term>
+
+ <listitem>
+ <para>Argument should be a comma-separated list of unit LOAD
+ or SUB or ACTIVE states. When listing units show only those
+ with specified LOAD or SUB or ACTIVE state.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-p</option></term>
<term><option>--property=</option></term>
@@ -166,15 +170,6 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
- <term><option>--failed</option></term>
-
- <listitem>
- <para>When listing units, show only failed units. Do not
- confuse with <option>--fail</option>.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>-l</option></term>
<term><option>--full</option></term>