Operating System - HP-UX
1751691 Members
4599 Online
108781 Solutions
New Discussion юеВ

Re: Find the total space in GB

 
SOLVED
Go to solution
Grayh
Trusted Contributor

Find the total space in GB

Could you give me a script to execute... which would give me the total space allocated/used in GB in each of the file systems and the Total Free space left in the disk in GB.

Also plz advise on how to save and execute this script..

Thank You
14 REPLIES 14
Torsten.
Acclaimed Contributor
Solution

Re: Find the total space in GB

Hi,

have a look at this:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1291639

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!   
Hein van den Heuvel
Honored Contributor

Re: Find the total space in GB

Check out: bdfmegs

Explain more clearly, or Google for alternatives if that's not what you need.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1291639

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1048509

hth,
Hein.
Ivan Krastev
Honored Contributor

Re: Find the total space in GB

Have a look here - http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=89641

Search also in forums for other scripts.

regards,
ivan
Grayh
Trusted Contributor

Re: Find the total space in GB

I am running 11iV2 and bdfmegs is not working on my box..

I have actually saw found these links while searching in google and was not sure how to proceed....

# bdfmegs
sh: bdfmegs: not found.
You have mail in /var/mail/root
# bdfmegs -V vg00
sh: bdfmegs: not found.

May be I am being more dumb than ever....

I am actually not sure where to save this script & as what.And also not sure how to run it...

Normally to run a script I do ./scriptname.sh

Plz Advise
Pete Randall
Outstanding Contributor

Re: Find the total space in GB

Where is bdfmegs installed? You may need to either specify the full path name or put the location into your PATH variable.


Pete

Pete
Grayh
Trusted Contributor

Re: Find the total space in GB

# find . -name bdfmegs
#

I gave the above command to find where it is... But it returnem nothing

# man bdfmegs
No manual entry for bdfmegs.

Looks like it is not a part of the Std. OS or a built in command... May be do I have to install something...
Torsten.
Acclaimed Contributor

Re: Find the total space in GB

This is not part of the OS.

Click the link provided and find it attached.

Download and save the script, add execute rights and run 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!   
Ivan Krastev
Honored Contributor

Re: Find the total space in GB

This script is attached in the thread, provided by Torsten - http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1291639

This is not a standart OS script.

regards,
ivan
Grayh
Trusted Contributor

Re: Find the total space in GB

I have the file as bdfmegs.null

Should it be bdfmegs.sh