Disk usage treemap software for headless Linux

Posted on

Disk usage treemap software for headless Linux – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, disk-space-utilization, , , .

There are some programs which can display used disk space using a treemap, such as WinDirStat for Windows and KDirStat for KDE/Linux:

KDirStat screenshot

I’m looking for something similar, but for a headless Linux box. (E.g. run console data collection program on the server, then load the file in a graphical program in a GUI environment.)

Alternatively, what are other good ways to get a structured used disk space representation, with just SSH access?

Solution :

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.

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.

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.

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

Leave a Reply

Your email address will not be published. Required fields are marked *