linux:systemd
Table of Contents
systemd
To make it clear, I hate systemd! I use it only when there is no way around…
How to clear journalctl (/var/log/journal)
Retain only the past two days:
journalctl --vacuum-time=2d
Retain only the past 500 MB:
journalctl --vacuum-size=500M
Source: https://unix.stackexchange.com/questions/139513/how-to-clear-journalctl#194058
Links
- systemctl-tui - A simple TUI for interacting with systemd services and their logs
linux/systemd.txt · Last modified: 2025-03-18 (external edit)