journalctl🔗
To see messages from other users and the system, add the current user
to the group systemd-journal
.
Display Logs🔗
From the Current Boot🔗
Show the past boots
Time Window🔗
or
Kernel Messages🔗
Filter🔗
By Priority🔗
Priority: emerg
, alert
, crit
, err
, warning
, notice
, info
, debug
By Facility🔗
Facility: kern
, mail
, syslog
, local0
, ...
Get list of facilities: journalctl --facility=help
By Unit🔗
Get list of systemd units: systemctl list-units
By Identifier🔗
By Field🔗
Get a description of available fields: man systemd.journal-fields
Query which entries exist for a speficic field:
List all entries in the journal for a specific field:
By Pattern🔗
Grep a pattern in the message text.
Find case insensitive all entry with message containing error
:
Disk Usage🔗
Clear the history