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