mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
journal-remote: add an example to man
This commit is contained in:
parent
d10accb0b1
commit
e6b6225e3b
@ -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&follow
|
||||
</programlisting>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>See Also</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user