Home Journalctl clean up and tricks
Post
Cancel

Journalctl clean up and tricks

Find the current Disk Usage by journalctl

1
journalctl --disk-usage

The safest way to remove unessesary entries is via the (means leave this amount left)

1
journalctl --vacuum-size=512M

After that you can verify if everything is still intact:

1
journalctl --verify

Or as generell setting in /etc/systemd/journald.conf

1
SystemMaxUse=512M

different approach:

1
2
SystemMaxFileSize=12M
SystemMaxFiles=10
This post is licensed under CC BY 4.0 by the author.