summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-18 19:08:03 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-18 19:08:03 +0200
commita1d4404f9ab20159d88fbe9b4ed9a4f3f5b8345e (patch)
tree6b5d97ff2ad8361d21251bbea8f3628c9057eab9 /man
parentea352b409eec5ea1a430fde176dd5ea57698a6a6 (diff)
man: mention that "units" are commonly system services
Also, provide an example for -u.
Diffstat (limited to 'man')
-rw-r--r--man/journalctl.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index df9c79465..bf187569d 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -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>