/ is filling up
zev at interchange.ubc.ca
Tue Jun 3 13:38:14 PDT 2003
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.
>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.
>freebsd-questions at freebsd.org mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions