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.

2 Responses to “Where The ‘ Is My Disk Space”

  1. Ian Says:

    This is good.

  2. Aaron Says:

    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

Leave a Reply