Journalctl: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * systemd") |
No edit summary |
||
Line 2: | Line 2: | ||
* [[systemd#Operations|systemd]] | * [[systemd#Operations|systemd]] | ||
=Overview= | |||
<tt>journalctl</tt> may be used to query the contents of the <tt>systemd</tt> journal as written by <tt>systemd-journald.service</tt>. | |||
If called without parameters, it will show the full contents of the journal, starting with the oldest entry collected. | |||
=-u= | |||
<pre> | |||
-u, --unit= | |||
</pre> | |||
Show messages for the specified systemd unit. This will add a match for messages from the unit ("_SYSTEMD_UNIT=") and additional matches for messages from systemd and messages about coredumps for the specified unit. This parameter can be specified multiple times. | |||
=-r= | |||
<pre> | |||
-r, --reverse | |||
</pre> | |||
Reverse output, so the newest entries are displayed first. |
Revision as of 16:26, 16 February 2016
Internal
Overview
journalctl may be used to query the contents of the systemd journal as written by systemd-journald.service.
If called without parameters, it will show the full contents of the journal, starting with the oldest entry collected.
-u
-u, --unit=
Show messages for the specified systemd unit. This will add a match for messages from the unit ("_SYSTEMD_UNIT=") and additional matches for messages from systemd and messages about coredumps for the specified unit. This parameter can be specified multiple times.
-r
-r, --reverse
Reverse output, so the newest entries are displayed first.