10

I have a number of Linux webservers for which I'd like to track where disk space is going and keep disk space to a minimum.

Typically I login on SSH and use du to find out where disk space is wasted but this is cumbersome and slow. A visualisation tool like KDirStat would be ideal, but it requires installing an X server at the very least, which kind of defeats the purpose.

Is there any web-based disk space visualizer? I'm open to alternative solutions.

Martijn
  • 366

3 Answers3

9

I use ncdu - http://dev.yorhel.nl/ncdu, which has been covered here often. I also recommend a monitoring suite (Monit, Nagios, etc.) that can alert on a preset filesystem utilization percentage... Then use a tool like ncdu to understand what comprises the nearly-full filesystem.

But there's also Philesight, which is a web-based CGI script: http://zevv.nl/play/code/philesight/

Philesight is designed to run on a remote server without graphical user interface.

It presents a pie chart.

enter image description here

ewwhite
  • 201,205
5

You can try to install Cacti on one of your servers.You can monitor disk usage ,cpu usage , memory usage etc.

Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. And you can add all other servers to it.So you will have everything on one place.

Hope this helps!

alan978
  • 229
1

phpsysinfo - but you'll have to have php on servers (which you most likely have, since your servers are webservers)