Solved how to find out filespace under a disk?

April 22, 2012 at 19:52:07
Specs: solaris9
I want to find out which folder is taking more space under a disk in solaris.

See More: how to find out filespace under a disk?

Report •

#1
April 22, 2012 at 20:07:46
Never used it in solaris, but it says it's compatible

http://kdirstat.sourceforge.net/


Report •

#2
April 23, 2012 at 14:27:02
✔ Best Answer
This script finds the 50 largest files on the system. Keep this in mind:

1) If you don't run this as root, you'll get a lot of permission denied problems
2) Change the -50 if you want a different number of files.

cd /
find . -type f -print|xargs ls -l|sort -r -n -k 5,5| head -50


Report •
Related Solutions


Ask Question