Results 1 to 3 of 3
All,
I have tried du -hcs command which gives me the total usage, i am interested to know how much unused space I have, total size etc. I looked into ...
- 07-17-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 9
[SOLVED] how do I find the %usage of /opt
All,
I have tried du -hcs command which gives me the total usage, i am interested to know how much unused space I have, total size etc. I looked into the df command but I think that is only for mounted file systems which would work for /opt. I tried
df -h | grep opt and it returned nothing.
Thanks in advance.
- 07-17-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Try "df -h /opt" instead. Often /opt is mounted on /, so your technique would not show anything grepping for opt.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-17-2009 #3Just Joined!
- Join Date
- Mar 2009
- Posts
- 9
Thanks, that was what I was looking for!


