journalctl
Safesystemd logs
journalctl -xe
Inspect service/system logs; -u scopes a unit, -f follows.
Examples
journalctl -u nginx -n 100Last 100 lines for nginx
Syntax
journalctl -u <svc> | -xe | -f
Before you run it
Read-only.
Used when you see
Logs are eating the disk
1
See the whole flow →Check journal usage and vacuum by time/size--disk-usage, then --vacuum-time=14d.
Related commands
- systemctlManage services
- Get-WinEventQuery event logs (modern)
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store