Ubuntu/Cleanup

From Omnia
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