Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
possible duplicate of How can I determine what is taking up so much space? –  ewwhite Oct 10 '12 at 11:53

3 Answers 3

up vote 5 down vote accepted

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

share|improve this answer
    
Exactly what I was looking for! Thanks. –  Martijn Oct 10 '12 at 14:28

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!

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.