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

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.

share|improve this question
add comment

7 Answers

up vote 8 down vote accepted

GT5 is probably what you're looking for.

share|improve this answer
    
Thanks, that was what i was looking for. –  Sinan Yasar Jun 28 '09 at 19:59
add comment

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

share|improve this answer
add comment

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. "

share|improve this answer
add comment
$ 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

share|improve this answer
add comment

See my answer here for a list of additional options.

share|improve this answer
add comment

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.

share|improve this answer
    
it works, and it is really cool :) –  Răzvan Panda Feb 10 '13 at 19:25
add comment

Isn't du enough?

share|improve this answer
    
du is pretty powerful, but GT5 kind of tool was what i was looking for. Thanks anyways. –  Sinan Yasar 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
add comment

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.