Disk usage treemap software for headless Linux

Solution 1:

NCurses Disk Usage (ncdu) is good for this. See http://dev.yorhel.nl/ncdu for details. It's available as a package for most popular distributions and lets you browse and find out where your disk space is used. It uses text characters to display a bar-chart of directory usage so you get a semi-graphical interface, in a text only environment.

Solution 2:

gt5 is very nice. It has a console interface and also creates html files you can view in your browser. It's in the repositories so you can just apt-get it.


Solution 3:

I use du -cks * | sort -rn | head -11.

It shows the top ten directories by disk consumption. I use it on /home and such all the time.


Solution 4:

xdiskusage allows you to pipe the output of du into it for analysis. It's a great option.


Solution 5:

For headless servers philesight might be of great use.

(kludos for that gem go to http://www.makeuseof.com/tag/how-to-analyze-your-disk-usage-pattern-in-linux/)