4

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.

7 Answers 7

8

GT5 is probably what you're looking for.

0
7

Isn't du enough?

2
  • du is pretty powerful, but GT5 kind of tool was what i was looking for. Thanks anyways.
    – Sinan
    Jun 28, 2009 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, 2009 at 13:34
6

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

3

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.

1
1

See my answer here for a list of additional options.

1
$ 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

1

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 .