I have a full partition, but I cannot determine what is taking up space.
I do a df and see that /var is 100% full, but I can't determine what in var is taking up space. What commands can I use to determine what is taking up space.
Quite often, var fills up because /var/adm/wtmp and wtmpx grow without being pruned. Have a look at them and if necessary do a cat /dev/null > /var/adm/wtmp(x) to clear them down. You can also do a find /var -size +2000 -print to find any largish files which could also be pruned. HTH.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.