Query the systemd journal.
More information.
- Show all messages from this [b]oot:
- Show all messages from last [b]oot:
- Show all messages with priority level 3 (errors) from this [b]oot:
journalctl -b --priority={3}
- [f]ollow new messages (like `tail -f` for traditional syslog):
- Show all messages by a specific [u]nit:
- Filter messages within a time range (either timestamp or placeholders like "yesterday"):
journalctl --since {now|today|yesterday|tomorrow} --until {YYYY-MM-DD HH:MM:SS}
- Show all messages by a specific process:
- Show all messages by a specific executable:
journalctl {path/to/executable}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY