From 6d57d99da376ce20b8ed7f95ca357514a8d87651 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 13 Aug 2024 14:44:17 +0200 Subject: [PATCH] docs: view system log --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index dbd1bca..9f56f2c 100644 --- a/README.md +++ b/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 +``` \ No newline at end of file