Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our disk on our VPS is somehow magically full, I was manually looking for any big files, even used a command to print all files bigger then 500MB, I got no results.

Is there a command which would search or print folder names, which are bigger then 500mb perhaps?

p.s.: I use CentOS 5.7

Many thanks in advance!

share|improve this question
Just bear in mind that you problem might not even be big files. It could just as easily be large numbers of small files. For a quick check compare your free space to your free inodes. – John Gardeniers Dec 22 '11 at 21:09
up vote 6 down vote accepted

I really enjoy using the ncdu utility to provide a graphical representation of folder and subfolder usage on a system...

enter image description here

It's used in a similar manner as du, but makes it easy to navigate directories. The version for your OS is available via source tarball or from the EPEL repository.

share|improve this answer

As @ewwhite mentioned, you can also use "du" and manual traversing of the directories if you can't install an application:

cd /
du -h --max-depth=1 | sort -n

This will give you a list, in ascending order of folders and their corresponding size. You can then manually drill down finding folders.

share|improve this answer

I don't know of a stock utility that does what you need.

For directories, there's a perl script that does what you need in this LinuxJournal article

For files find would be your friend.

share|improve this answer

Your Answer


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.