[systemd-commits] man/journalctl.xml

Lennart Poettering lennart at kemper.freedesktop.org
Mon Aug 18 10:08:42 PDT 2014


 man/journalctl.xml |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit a1d4404f9ab20159d88fbe9b4ed9a4f3f5b8345e
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Aug 18 19:08:03 2014 +0200

    man: mention that "units" are commonly system services
    
    Also, provide an example for -u.

diff --git a/man/journalctl.xml b/man/journalctl.xml
index df9c794..bf18756 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>



More information about the systemd-commits mailing list