
journalctl
List of commands for journalctl:
-
journalctl:tldr:19d0a journalctl: Show all messages by a specific executable.$ journalctl ${path-to-executable}try on your machineexplain this command
-
journalctl:tldr:4f0da journalctl: Filter messages within a time range (either timestamp or placeholders like "yesterday").$ journalctl --since ${select} --until ${YYYY-MM-DD HH:MM:SS}try on your machineexplain this command
-
journalctl:tldr:56e95 journalctl: [f]ollow new messages (like `tail -f` for traditional syslog).$ journalctl -ftry on your machineexplain this command
-
journalctl:tldr:61749 journalctl: Show all messages by a specific process.$ journalctl _PID=${pid}try on your machineexplain this command
-
journalctl:tldr:6714a journalctl: Delete journal logs which are older than 2 days.$ journalctl --vacuum-time=${2d}try on your machineexplain this command
-
journalctl:tldr:87c60 journalctl: Show all messages by a specific [u]nit.$ journalctl -u ${unit}try on your machineexplain this command
-
journalctl:tldr:e2826 journalctl: Show all messages from last [b]oot.$ journalctl -b -1try on your machineexplain this command
-
journalctl:tldr:e8939 journalctl: Show all messages with priority level 3 (errors) from this [b]oot.$ journalctl -b --priority=${3}try on your machineexplain this command