Comment from: will trillich [Visitor]
will trillich

we do the same here, adding “sort -nr” to get the primary suspects up top:

du -s * | sort -nr | head

then, as you say, we dive into the offending directories and lather, rinse, repeat as needed. :)

02/18/08 @ 05:29
Comment from: Web Design [Visitor]
Web Design

We have a similar problem except we used this:

du -hs * | sort -nr | head

Then found the biggest directories.

We worked out that the offending party was “MYSQL” of all things.

I found the solution on this website:


We moved mysql to the /home partition and that was that - done!

04/11/09 @ 19:22
Comment from: [Member]

Another interesting command line:

find /var/log/ -type f -size +50000k -exec ls -lh {} \;

Will find your biggest log files!

11/08/11 @ 18:11
Comment from: NAIBED [Visitor]

I like ncdu for this. It has an ncurses interface and will let you delete files/directories. In debian apt-get install ncdu to get it then just ncdu /var/log/

04/01/14 @ 20:57

Form is loading...