diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-09 01:43:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-09 18:35:36 +0100 |
commit | 86e1f46f92ff4c447ea32a6892ea394c6e6ef541 (patch) | |
tree | 36ed0eff8d473c8b7baec54d03c2f0f09c12799c /man/loginctl.xml | |
parent | ff0af2a1660bb122f29713c9b2aff8179f165bb7 (diff) |
loginctl: make "loginctl session-status" without session ID show the caller's session status
Similar for user-status and seat-status.
Diffstat (limited to 'man/loginctl.xml')
-rw-r--r-- | man/loginctl.xml | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/man/loginctl.xml b/man/loginctl.xml index 7a6cc156d3..095ba056aa 100644 --- a/man/loginctl.xml +++ b/man/loginctl.xml @@ -209,16 +209,20 @@ </varlistentry> <varlistentry> - <term><command>session-status</command> <replaceable>ID</replaceable>...</term> + <term><command>session-status</command> <optional><replaceable>ID</replaceable>...</optional></term> <listitem><para>Show terse runtime status information about one or more sessions, followed by the most recent - log data from the journal. This - function is intended to generate - human-readable output. If you are - looking for computer-parsable output, - use <command>show-session</command> + log data from the journal. Takes one + or more session identifiers as + parameters. If no session identifiers + are passed the status of the caller's + session is shown. This function is + intended to generate human-readable + output. If you are looking for + computer-parsable output, use + <command>show-session</command> instead.</para></listitem> </varlistentry> @@ -307,12 +311,16 @@ </varlistentry> <varlistentry> - <term><command>user-status</command> <replaceable>USER</replaceable>...</term> + <term><command>user-status</command> <optional><replaceable>USER</replaceable>...</optional></term> <listitem><para>Show terse runtime status information about one or more logged in users, followed by the most - recent log data from the journal. This + recent log data from the + journal. Takes one or more user names + or numeric user IDs as parameters. If + no parameters are passed the status of + the caller's user is shown. This function is intended to generate human-readable output. If you are looking for computer-parsable output, @@ -390,12 +398,15 @@ </varlistentry> <varlistentry> - <term><command>seat-status</command> <replaceable>NAME</replaceable>...</term> + <term><command>seat-status</command> <optional><replaceable>NAME</replaceable>...</optional></term> <listitem><para>Show terse runtime status information about one or more - seats. This function is - intended to generate human-readable + seats. Takes one or more seat names as + parameters. If no seat names are + passed the status of the caller's + session's seat is shown. This function + is intended to generate human-readable output. If you are looking for computer-parsable output, use <command>show-seat</command> |