Operating System - HP-UX
1834685 Members
2252 Online
110069 Solutions
New Discussion

Re: Free disk space command

 
SOLVED
Go to solution

Free disk space command

Hi All,

Which command is use to check disk space?

Thanks in Advance.

Pratibha.
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: Free disk space command

Regarding the file systems use "bdf". If you want to know about the space available to LVOLs use "vgdisplay -v ...".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Deepak Kr
Respected Contributor
Solution

Re: Free disk space command

bdf /filesystem_name

e.g.

#bdf /var

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 5120000 3900000 1143869 77% /var
"There is always some scope for improvement"
IG_2
Advisor

Re: Free disk space command

See also
# du -ks

as a result you'lee get size of all files in
SKR_1
Trusted Contributor

Re: Free disk space command

pvdisplay disk name ( /dev/dsk/cxtxdx )

Check for Free PE and PE size, multiply both you will get free disk space.

Thanks

SKR