5/2/2023 0 Comments Ubuntu disk cleaner![]() If you are worried about your privacy because of leftover files then the BleachBit can help in removing cookies, free cache, clear internet history, temporary files, delete logs, and junk files. ![]() Mac Disk Drill EaseUS Disk Copy 59. Removing old snap package versions If you check the disk space used by Snap now, you’ll see that the directory size is reduced now. The BleachBit is the best alternative for CCleaner on Ubuntu to clean and free disk space. Ubuntu (64-bit) Disk Drill Free Recover lost data on your Mac, prevent accidental data loss, backup failing disks. When the file opens, un-comment (remove # at the beginning) the line #SystemMaxUse= and change it to SystemMaxUse=100M. To run this script, keep it in your home directory and then open the terminal in Ubuntu and run this command: sudo bash clean-snap.sh You can see that it starts removing the older version of packages. Run command in terminal to edit the file via Gedit text editor: sudo -H gedit /etc/systemd/nf You can also edit the configuration file to limit the journal log disk usage ( 100 MB for example). Delete old logs and limit file number to X: sudo journalctl -vacuum-files=5Ĥ.Delete log files until the disk space taken falls below the specified size: sudo journalctl -vacuum-size=100M.Delete journal logs older than X days: sudo journalctl -vacuum-time=2days. ![]() Now clear the journal logs by choosing one of following commands: All currently active journal files will be marked as archived, so that they are never written to in future. If you decide to clear the logs, run command to rotate the journal files. First open terminal from system app launcher, and you may run command to check out the current disk usage of all journal files: journalctl -disk-usageĢ. As long as I don’t need the logs for any debugging, it’s safe to delete these files. Systemd has its own logging system called the journal, and the log files are stored in /var/log/journal. I have run Server 2008, Ubuntu 18, Windows 7 & Windows 10 Pro on this hardware. Very clean, used for testing software in my lab. Never had any problems with this hardware since purchased. Repair a damaged filesystem Check if a filesystem is damaged and bring it back into a usable state. Manage volumes and partitions Understand what volumes and partitions are and use the disk utility to manage them. Pulled from one of my clients to upgrade to a newer version. Create a startup disk Convert a USB flash drive into a volume from which you can startup and install Ubuntu. Going to free up Ubuntu system disk space? Try clearing the systemd journal logs, it may free up a few GB of space.īy using the Disk Usage Analyzer tool, I found that /var/log/journal takes more than 4 GB system space in my Ubuntu 20.04. Runs perfectly, this server is a workhorse. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |