mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
man: mention that "units" are commonly system services
Also, provide an example for -u.
This commit is contained in:
parent
ea352b409e
commit
a1d4404f9a
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue