summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2016-01-24 07:54:05 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2016-01-24 08:12:13 +0100
commite6b6225e3b7f897fe30acc57bfbe82af1c8514fd (patch)
tree96a182c44c7aab7bff8470d623d51befe42885bd /man
parentjournal-remote: output file name is determined by the remote hostname (diff)
downloadsystemd-e6b6225e3b7f897fe30acc57bfbe82af1c8514fd.tar.xz
systemd-e6b6225e3b7f897fe30acc57bfbe82af1c8514fd.zip
journal-remote: add an example to man
Diffstat (limited to 'man')
-rw-r--r--man/systemd-journal-remote.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/man/systemd-journal-remote.xml b/man/systemd-journal-remote.xml
index ebaca2657f..3899f175d4 100644
--- a/man/systemd-journal-remote.xml
+++ b/man/systemd-journal-remote.xml
@@ -293,15 +293,24 @@ journalctl -o export | systemd-journal-remote -o /tmp/dir -
</programlisting>
</para>
- <para>Retrieve events from a remote
+ <para>Retrieve all available events from a remote
<citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
instance and store them in
- <filename>/var/log/journal/some.host/remote-some~host.journal</filename>:
+ <filename>/var/log/journal/remote/remote-some.host.journal</filename>:
<programlisting>
systemd-journal-remote --url http://some.host:19531/
</programlisting>
</para>
- </refsect1>
+
+ <para>Retrieve current boot events and wait for new events from a remote
+ <citerefentry><refentrytitle>systemd-journal-gatewayd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ instance, and store them in
+ <filename>/var/log/journal/remote/remote-some.host.journal</filename>:
+ <programlisting>
+systemd-journal-remote --url http://some.host:19531/entries?boot&amp;follow
+ </programlisting>
+ </para>
+</refsect1>
<refsect1>
<title>See Also</title>