Operating System - HP-UX
1753534 Members
5301 Online
108795 Solutions
New Discussion юеВ

bdf output in megabytes on 11.23

 
SOLVED
Go to solution
Steven Richards
Frequent Advisor

bdf output in megabytes on 11.23

Hi,

I found a really useful script on the forums that produced all my bdf output into nice columns and into megabytes for HPUX 11.00 and 11.11, but this doesn't seem to work on Itanium 11.23, has anyone got a script that'll do this for 11.23?

Your time and help are much appreciated.

S.
A pint of vodka my good woman
22 REPLIES 22
Yogeeraj_1
Honored Contributor

Re: bdf output in megabytes on 11.23

hi,

did you use the bdfmegs script?

revert

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Patrick Wallek
Honored Contributor

Re: bdf output in megabytes on 11.23

Are you talking about the bdfmegs script? If so, what errors are you getting? I have just put bdfmegs on an 11.23 PI (PA-RISC) and it works fine.

Can you post the output from the command?
Steven Richards
Frequent Advisor

Re: bdf output in megabytes on 11.23

Yes, I believe it is called bdfmegs. Is there a version for 11.23 Itanium?

[I setup link called bdfm as I couldn't be bothered to type bdfmegs everytime!]
A pint of vodka my good woman
Pete Randall
Outstanding Contributor
Solution

Re: bdf output in megabytes on 11.23

I haven't tried it on 11.23, but here is bdfmegs (attached). You might want to re-install.


Pete

Pete
Geoff Wild
Honored Contributor

Re: bdf output in megabytes on 11.23

Sorry - don't have an Itanium to test on - add a set -x to the top of the script and post the output if you can...

If bdfmegs script - it uses df to get mount point sizes...

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.
Kent Ostby
Honored Contributor

Re: bdf output in megabytes on 11.23

When you say it doesn't seem to work, what exactly is it doing differently (or not doing)?

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Steven Richards
Frequent Advisor

Re: bdf output in megabytes on 11.23

Apologies if I was being a bit vague.

It would appear my version of bdfmegs was a bit out of date, I used the version pete attached and it works no problem, although I do get a strange line of zero's, sometimes in the middle, sometimes at the end, but I can live with that.

My version was hanging on the Itanium servers in the middle of the listing and I would have to 'ctrl-c' to end it. Whatever caused this obviously got fixed in the more recent version.

Thanks for all your help.
A pint of vodka my good woman
Patrick Wallek
Honored Contributor

Re: bdf output in megabytes on 11.23

If you are interested, I have modified a version of bdfmegs so that it prints the output in GB instead of MB.

It is attached and called bdfg.
Steven Richards
Frequent Advisor

Re: bdf output in megabytes on 11.23

Patrick,

Thank you, much appreciated.

Steve.
A pint of vodka my good woman