1844572 Members
2885 Online
110233 Solutions
New Discussion

disk info

 
Kgreen
Advisor

disk info

Hi Iam a bit new to the XP 12000 , I would appreciat eif anyone can help me on the below

1) Is there a shell script which would tell me how much storage I have allocated to a host on hp-ux.

2) I think my cluster systems are also showing those disk, how can I know how much storage is allocated , is there any script on hp-ux.

Thanks in advance
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: disk info

Hi,

HP can provide you a pretty tool for your XP named xpinfo. Ask them for it.

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!   
Kgreen
Advisor

Re: disk info

I have xpinfo , but I need something like total vg allocated on that machine linked with the xpinfo output
Torsten.
Acclaimed Contributor

Re: disk info

Still not sure what you need.

How about "xpinfo -m"?

You will get a result like

/dev/rdsk/c4t0d0 XP1024 OPEN-E 13893MB

Not enough?

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!   
Geoff Wild
Honored Contributor

Re: disk info

Total vg or total disk allocated - mean different things.

Example, I have a script that does:

# vgttl
VG Size(MB) In use Available
vg00 16646 10156 6196
vg01 12288 4 11901
vg60 223472 82727 131953
vg61 2656640 1809826 793889
vg62 52736 33676 17885
vg65 8192 3852 4069
vg66 44752 23654 19781
vg67 25888 1970 22423
vg68 227712 192683 32840
----- -------------- -------------- --------------
Total 3268326 2158548 1040937



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: disk info

Oops - you need bdfmegs as well...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Kgreen
Advisor

Re: disk info

Geoff,

Thank you very much appreciate it... good to have that script.

But I need the total allocated, thats what is important