wiki.xw3.org

Welcome to the xw3 Wiki! Powered by hanez

User Tools

Site Tools


linux:systemd

**This is an old revision of the document!**

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

  • systemctl-tui - A simple TUI for interacting with systemd services and their logs
linux/systemd.1742269916.txt.gz · Last modified: 2025-03-18 by hanez