Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disk Space

Status
Not open for further replies.

tree740

MIS
Jan 25, 2001
12
US
Is there a command or script that I can run that will show how much allocated and unallocated disk space I have on my machines. I have K460's with HP-UX 11.00
 
tree740: I just ran the script and it doesn't give as much readable information as the script I use. Post your email address and I will send you what I use.
 
Does df -k or bdf not give you the info you require ?
 
bdf only tells you what disk space you are using. It doesn't tell you how much unallocated disk space you have. Nor does it tell you how your filesystems are laid out -- which is very important for performance of databases.
 
BI, Your script is great! They gave me the information I needed but it had a problem with disks in the serviceguard cluster.
 
Have you tried vgdisplay <vgname> , it gives you total PE and Allocated PE and Free PE. IF you want which drives are assigned to that <vgname> use -v with vgdisplay.

Hope this will help you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top