From bd657c9ddc5e84d336388e3f7bb9651354e4cc93 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Tue, 26 Nov 2024 15:59:24 +0100 Subject: [PATCH] monitoring --- system/monitoring.md | 5 +++++ system/systemd/journal.md | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/system/monitoring.md b/system/monitoring.md index b43be36..f9c4555 100644 --- a/system/monitoring.md +++ b/system/monitoring.md @@ -22,3 +22,8 @@ REP=5 free --lohi -g -s $REP | lolcat ``` +Check the next thing cron will do: + +```bash +cronnext /var/spool/cron/$USER -l +``` diff --git a/system/systemd/journal.md b/system/systemd/journal.md index 66cfbff..58517a8 100644 --- a/system/systemd/journal.md +++ b/system/systemd/journal.md @@ -10,6 +10,12 @@ See a running log of all system messages: journalctl -f ``` +Or just one user: + +```bash +journalctl --user -f +``` + Or just one unit (`sshd`): ```bash