Is there a program like WinDirStat for RedHat?

I'm running out of disk space on one of our Linux servers and I need to find out what is taking up all the space.

TIA


Solution 1:

du -m --max-depth=6 / | sort -nr | head -n 20 would show you 20 largest directories with the biggest ones on the top, usage indicated by megabytes.

Solution 2:

Try one of these:

  • http://kdirstat.sourceforge.net
  • http://gdmap.sourceforge.net

Or these:

  • http://methylblue.com/filelight/
  • http://www.marzocca.net/linux/baobab/
  • http://zevv.nl/play/code/philesight/

Solution 3:

Windirstat was heavily inspired by kdirstat, it should be in your distro.

Solution 4:

Gnome has Disk Usage Analyzer, i have used it in Ubuntu, but i believe it is not ubuntu only. It has a similar pie chart thing to WinDirStats gui