zabadabadoo wrote:My percentages were 87% and 35% for h and i
Yowza.
Looks like something you are running is gobbling up a lot of logspace. You're processes and filespace are pretty high.
You can use this mile-long puppy to look at what your biggest files are:
- Code:
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf "%.3f MB \t %s\n", $2/(1024), $1}'
Scan through the results and see if there is anything taking up space that is obsolete, unused or unwanted.
You know... don't go removing wget or anything. Check what anything you consider removing IS before removing.
Also, pkexec into your file manager with elevated permissions, go to Root, then
/root/.cache/thumbnails- you can clean up in there
/root/.local/share/Trash - Can clean up in here
/root/.thumbnails - see if there is anything in here
For your home folder thumbs:
- Code:
rm -rf ~/.cache/thumbnails/*
(Always use caution when using the rm -rf Command!!! Ensure that it IS specifying the files you want to remove only before hitting enter)
Truncate kernel logs
- Code:
echo > /dev/null | sudo tee /var/log/kern.log
If you use snap for snap-packages, that will hoover up a LOT of space.
If so, you can create a shell script with the following
- Code:
#!/bin/bash
# Removes old revisions of snaps
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu
snap list --all | awk '/disabled/{print $1, $3}' |
while read snapname revision; do
snap remove "$snapname" --revision="$revision"
done
Right click it, properties > Make executable.
Then run that puppy.
Did you check the Tail of the Logs as above to see if any errors are causing the pile up of logs or heavier i/o?
Also, when you installed Zorin, what size did you allocate for root?