summaryrefslogtreecommitdiff
path: root/man/journalctl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index df9c79465f..bf187569d0 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>