journalctl
Docs ### Filter logs based on UID, GID and PID
Show a specified log level
This is for the error journalctl -p 3 -xb
-p, –priority=
Disclaimer
To see boot time use [systemd-analyze]
-b –boot= 0 is for current List sessions –list-boots
–disk-usage to see if logs doesn’t float the system
Priority | Code |
---|---|
0 | emerg |
1 | alert |
2 | crit |
3 | err |
4 | warning |
5 | notice |
6 | info |
7 | debug |
U can also specfie the range example:
Search for a specific unit [[systemd#Units|units]]
To view the logs in the reverse order
In real time
Kernel message