Showing posts with label tmpwatch. Show all posts
Showing posts with label tmpwatch. Show all posts

Friday, February 6, 2009

disk full on fedora 10? clean it up...

Use gnome's disk usage analyser to get insight on possible junk data. It came handy for me.

I saw deleted torrent data from my transmission in /home/myusername/.local/share/Trash/files. Ran 'rm-rf *' to delete everything here.

Have heard that tempwatch is good to delete /tmp folder. Run or add tmpwatch to cron tab. 'tmpwatch -maf 4 /tmp' deletes tmp files older than 4 hours.

run 'yum clean all' to clear yum cache.

Sometimes we install a package which install bunch of dependencies. Later when we remove using yum, the dependencies are not removed. Use
package-cleanup --leaves
to get list of unused packages and remove them.

After doing above 3 things my 'df -h' statistics jumped from 25% / usage to 13% / usage :-)