Logs spiraling crazy, we run out of disk space all the time. A nifty trick to find where the disk went is to issue: du -cks * |sort -rn |head -11
This returns where the disk usage is, and makes finding the bloated log a lot easier.

4% interest not included
Logs spiraling crazy, we run out of disk space all the time. A nifty trick to find where the disk went is to issue: du -cks * |sort -rn |head -11
This returns where the disk usage is, and makes finding the bloated log a lot easier.
April 5th, 2006 at 12:56 pm
This is good.
December 8th, 2007 at 11:35 am
great hint. You might consider adding a h for human readable output.
du -cksh * |sort -rn |head -11
that will give you
613M Pictures
553M Library
444K Movies
129M Documents
…