mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
docs: view system log
This commit is contained in:
parent
3009bd8613
commit
6d57d99da3
11
README.md
11
README.md
@ -327,3 +327,14 @@ List all active services:
|
||||
systemctl 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user