man: mention that "units" are commonly system services

Also, provide an example for -u.
This commit is contained in:
Lennart Poettering 2014-08-18 19:08:03 +02:00
parent ea352b409e
commit a1d4404f9a

View file

@ -503,8 +503,9 @@
<listitem><para>Show messages for the
specified systemd unit
<replaceable>UNIT</replaceable>, or
for any of the units matched by
<replaceable>UNIT</replaceable> (such
as a service unit), or for any of the
units matched by
<replaceable>PATTERN</replaceable>.
If a pattern is specified, a list of
unit names found in the journal is
@ -911,6 +912,10 @@
<programlisting>journalctl -k -b -1</programlisting>
<para>Show a live log display from a system service <filename>apache.service</filename>:</para>
<programlisting>journalctl -f -u apache</programlisting>
</refsect1>
<refsect1>