Journal Control

From 6bit.ch wiki
Revision as of 15:15, 24 February 2023 by Xbl (talk | contribs) (Created page with "= journalctl = May be used to query the contents of the systemd(1) journal as written by systemd-journald.service(8).</br> == Use == <code>journalctl -xe</code> show last 1000 messages in a pager</br> <code>journalctl -f</code> follow latest messages</br> <code>journalctl -t sshd</code> show messages of a particular service</br> </br> == Useful Flags == <code>-p <priority></code> show messages with $priority and above only <code>-b <priority></code> show messages sinc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

journalctl

May be used to query the contents of the systemd(1) journal as written by systemd-journald.service(8).

Use

journalctl -xe show last 1000 messages in a pager
journalctl -f follow latest messages
journalctl -t sshd show messages of a particular service

Useful Flags

-p <priority> show messages with $priority and above only -b <priority> show messages since last boot only