ephraims
http://www.wallpaperama.com/forums/linux-command-to-find-how-much-disk-space-is-being-used-show-display-t713.html
du -hc --max-depth=1
change location and maxdepth to suit requirements
eg
cd /home/e-smith/files
du -hc --max-depth=3
Does
df -h
show your total disk space as being available ?
Thanks Ray, that was very beneficial to me as well.
I was looking at the durep contrib and
Curly pointed out to me yesterday how to manually update the Disk Usage information shown on the panel. I took a look in /usr/sbin/durep.daily and I see entries for the users and ibays and I wondered if I could get it to show the usage for the entire drive...
***Preface - I have absolutely no idea what I am doing. It is entirely possible that what I did will cause me great pain later...***I added the following line under the second line (the one that ends in /ibays)
/usr/local/bin/durep -q -x -sf /var/www/html/root.ds /
I then went to /var/www/html and created an empty file named root.ds.
When I forced durep to update (
/usr/sbin/durep.daily) and went back to the panel I had a third entry that shows the usage of the entire file system (as near as I can tell...)
This is handy to me, but maybe someone that knows what they are doing will tell me if I made a serious mistake?
Ryan