chiark / gitweb /
man: document new 'systemctl status PID' syntax
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Aug 2010 00:15:10 +0000 (02:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Aug 2010 00:15:10 +0000 (02:15 +0200)
man/systemctl.xml
src/systemctl.c

index 6e4b203d8877ba80f545c4b01c2edbb29f83d1d4..1c5c884f8ce9b1efcb99216cda8847f361b6cf6d 100644 (file)
                                 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
                                 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>
index cf075ed7a3d6ab186ea23f2a9b8e7fc0c05f996a..6d17649a7f976e3eb91a958b112ffd221335b81b 100644 (file)
@@ -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"