The usual solution I use would be (starting in the root directory) "du -kx | sort -n". The x flag prevents crossing partitions when doing the recursive analysis that du is meant to do, while the k flag makes the output in kilobytes. I like this command enough that I have a shortcut to it in my .bashrc called "dk". Check the man page for du for other options if you want. Hope this helps.

Zev

My / partition is getting pretty full, 92%. Usually the culprit is something
I'm not rotating in /var/log, but that's not the case this time. Does anyone
have any suggestions to find out where this is? I'm guessing it's probably
something using ls and sort but I'll be damned if I can put something
together that helps this problem.

David Daugherty

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to