docs: view system log

This commit is contained in:
Daniel Langbein 2024-08-13 14:44:17 +02:00
parent 3009bd8613
commit 6d57d99da3

View File

@ -327,3 +327,14 @@ List all active services:
systemctl list-units --type=service --state=running systemctl list-units --type=service --state=running
systemctl --user list-units --type=service --state=running systemctl --user list-units --type=service --state=running
``` ```
## View system log
```bash
# Kernel message log with timestamps
dmesg --ctime
# System journal: Errors since last boot.
journalctl -p err -b
# GNOME session logs since last boot. https://help.gnome.org/admin/system-admin-guide/stable/session-debug.html.en
journalctl _UID="${UID}" -b
```