chiark / gitweb /
man: mention that "units" are commonly system services
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2014 17:08:03 +0000 (19:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2014 17:08:03 +0000 (19:08 +0200)
Also, provide an example for -u.

man/journalctl.xml

index df9c79465fc6ae950ed3e26a287300b6a5d38543..bf187569d07b766d19ef444f7fd2928a40a106b4 100644 (file)
 
                                 <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
 
                 <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>