journalctl command
vacuum / clean
journalctl --disk-usage
journalctl --vacuum-size=1G
--vacuum-size=BYTES Reduce disk usage below specified size
--vacuum-files=INT Leave only the specified number of journal files
--vacuum-time=TIME Remove journal files older than specified time
read old journal
journcalctl --file /var/log/.../dsdsdsdsdsdsdsds.journal~
goto end of log
sudo journalctl -e
journalctl -e -u certbot.service
journalctl -xeu redis-server.service
list old boots
journalctl --list-boots
Alle Meldungen mit Kennzeichnung error, critical, alert oder emergency anzeigen
journalctl -p err -b
kernel messages only
journalctl -k -e
systemctl list-unit-files
systemctl --failed
# or
systemctl list-units --state=failed
journalctl -xb