Show only error logs since the last boot with journalctl
Filter the systemd journal to error-priority messages from the current boot, with timestamps, unit names, and full message text.
01Command
$ journalctl -p err -b --no-pager02What it does
The -p err option filters by syslog priority: 'err' means priority 3 and journalctl also includes higher-severity levels (crit, alert, emerg) because filters match the minimum. -b limits output to the current boot; use -b -1 for the previous boot or omit it to search all retained logs. Drop --no-pager to browse interactively, and add -u nginx.service to narrow results to one unit. Check how much disk the journal uses with journalctl --disk-usage.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- journalctl(1) — Query the systemd journalEvidence: The manual documents '-p' / '--priority=' to filter by message priority (e.g. err) and '-b' / '--boot' to limit output to a specific boot.
- systemd/Journal - ArchWikiEvidence: The ArchWiki journal page shows filtering journalctl output by priority level and by current boot with examples like journalctl -p err -b.
Last verified: 2026-09-17 · Category: System & Settings
06Related solutions
Refresh the package index from all configured repositories, then install newer versions of every upgradable package.
Launch an interactive process viewer with color meters for CPU cores, memory, and swap, plus search, sort, and kill controls.
Show total, used, and available space plus usage percentage for every mounted filesystem in human-readable units.