I have a debian server which has a lot of user folders and I would like to have a tool like FolderSize application in Mac, where i can check the filesystem by filetype or foldersize (or whatever argument possible to sort) to have a quick look on server storage.

It can be a text-mode application like Midnight Commander or a web based application like Webmin. Thanks.


GT5 is probably what you're looking for.


Isn't du enough?

  • du is pretty powerful, but GT5 kind of tool was what i was looking for. Thanks anyways.
    – Sinan
    Jun 28 '09 at 20:00
  • I don't think one invocation of du is enough, but multiple ones might be. Look at the documentation of '-S' for example. dirent size can be significant for things like Maildirs with high churn. I've just freed about 100M by creating a new directory; moving all the files from an older one into it; removing the older one; renaming the new one.
    – jmtd
    Jun 29 '09 at 13:34

I use ncdu for this. Console-based, so working anywhere, and very simple to use.


I've seen in Tekzilla a tool, named JDiskReport which runs on several OSes. Actually I haven't tried it out on any Linux yet but on Vista it is great. And it is a Java application therefore it should work on Linux too.


See my answer here for a list of additional options.

$ du -sh foldername
408K    foldername

$ man du

du - estimate file space usage

-s, --summarize
         display only a total for each argument

-h, --human-readable
          print sizes in human readable format (e.g., 1K 234M 2G)

it's manual but it works wonders if you hook it into a script


You might be interested in agedu. From the description "It does basically the same sort of disk scan as du, but it also records the last-access times of everything it scans. Then it builds an index that lets it efficiently generate reports giving a summary of the results for each subdirectory, and then it produces those reports on demand. "

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