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.

Sinan
  • 227
  • 3
  • 6

7 Answers7

8

GT5 is probably what you're looking for.

radius
  • 9,545
  • 23
  • 45
7

Isn't du enough?

Anonymous
  • 1,540
  • 1
  • 14
  • 18
  • 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
6

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

Bart De Vos
  • 17,761
  • 6
  • 62
  • 81
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.

Saabi
  • 371
  • 1
  • 3
1

See my answer here for a list of additional options.

Dennis Williamson
  • 60,515
  • 14
  • 113
  • 148
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

Fire Crow
  • 235
  • 2
  • 9
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. "

James
  • 2,212
  • 1
  • 13
  • 19