Commit 75676b72 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

man: document new 'systemctl status PID' syntax

parent 4455bcd0
......@@ -357,7 +357,7 @@
state to STDOUT.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>status [NAME...]</command></term>
<term><command>status [NAME...|PID...]</command></term>
<listitem><para>Show terse runtime
status information about one or more
......@@ -365,7 +365,10 @@
generate human-readable output. If you
are looking for computer-parsable
output, use <command>show</command>
instead.</para></listitem>
instead. If a PID is passed
information about the unit the process
of the PID belongs to is
shown.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>show [NAME...|JOB...]</command></term>
......
......@@ -3709,7 +3709,7 @@ static int systemctl_help(void) {
" otherwise restart if active\n"
" isolate [NAME] Start one unit and stop all others\n"
" is-active [NAME...] Check whether units are active\n"
" status [NAME...] Show runtime status of one or more units\n"
" status [NAME...|PID...] Show runtime status of one or more units\n"
" show [NAME...|JOB...] Show properties of one or more\n"
" units/jobs or the manager\n"
" reset-maintenance [NAME...] Reset maintenance state for all, one,\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment