Ubuntu/Cleanup

From Omnia
Revision as of 21:03, 5 October 2024 by Kenneth (talk | contribs) (Created page with "== Cleanup /var/log/journal == # retain the most recent 100M of data sudo journalctl --vacuum-size=100M # or delete everything but last 10 days sudo journalctl --vacuum-time=10d 20.04 - Big /var/log/journal? - Ask Ubuntu https://askubuntu.com/questions/1238214/big-var-log-journal == keywords ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cleanup /var/log/journal

# retain the most recent 100M of data
sudo journalctl --vacuum-size=100M
# or delete everything but last 10 days
sudo journalctl --vacuum-time=10d
20.04 - Big /var/log/journal? - Ask Ubuntu
https://askubuntu.com/questions/1238214/big-var-log-journal

keywords