summaryrefslogtreecommitdiff
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-13 19:30:05 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-13 19:53:45 -0400
commit7199aa96ce19468d9ce4cb21a13e32a3792fde41 (patch)
treece6fb434b2af0e46b3be95b3a1c2818e376c2bf1 /man/journalctl.xml
parent886a64fe6903bc1ccde5c7af0eac6786918c8e49 (diff)
journalctl: show systemd messages about unit for -u
journalctl -u unit is not very useful, because it doesn't show systemd messages about starting, stopping, coredumps, etc, like systemctl status unit does. Make it show the same information using the same rules. If somebody really want to see just messages from by the unit, it is easy enough to use _SYSTEMD_UNIT=...
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 4bbc288b7a..632a8134db 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -324,22 +324,28 @@
<term><option>-u</option></term>
<term><option>--unit=</option></term>
- <listitem><para>Show data only of the
- specified unit. This will add a match
- for <literal>_SYSTEMD_UNIT=</literal>
- for the specified
- unit.</para></listitem>
+ <listitem><para>Show messages for the
+ specified systemd unit. This will add
+ a match for messages from the unit
+ (<literal>_SYSTEMD_UNIT=</literal>)
+ and additional matches for messages
+ from systemd and messages about
+ coredumps for the specified unit.
+ </para></listitem>
</varlistentry>
<varlistentry>
<term><option>--user-unit=</option></term>
- <listitem><para>Show data only of the
+ <listitem><para>Show messages for the
specified user session unit. This will
- add a match for
- <literal>_SYSTEMD_USER_UNIT=</literal>
- for the specified
- unit.</para></listitem>
+ add a match for messages from the unit
+ (<literal>_SYSTEMD_USER_UNIT=</literal>
+ and <literal>_UID=</literal>) and
+ additional matches for messages from
+ session systemd and messages about
+ coredumps for the specified unit.
+ </para></listitem>
</varlistentry>
<varlistentry>