1753769 Members
5324 Online
54796 Solutions
New Discussion юеВ

Re: bdfmegs ver 5.0

 
SOLVED
Go to solution
James R. Ferguson
Acclaimed Contributor

Re: bdfmegs ver 5.0

Hi (again) Bill:

> Thanks James. It has been difficult to locate multi-terabyte filesystems for testing. I'll fix the code.

Your code made this easy! Given Patrick's observation, it was trivial to kludge a bogus filesystem into one of 'bdf' output streams. No, I don't have any TB filesystems, either.

Then, I simply turned on the debugging trace framework you built and examined its output.

Having well written, well-documented code is always a pleasure to read, but when the author takes the time to add (and _LEAVE _IN_) a robust debugging framework, the benefits are enormous.

Thanks for the opportunity to help, Bill.

Regards!

...JRF...
PatRoy
Regular Advisor

Re: bdfmegs ver 5.0

James, the fix does seem to work:

[root@NCRCI]:/home/proy$ ./bdfmegs.sh
File-System Mbytes Used Avail %Used Mounted on
/dev/vg00/lvol3 1024 190 826 19% /
/dev/vg00/lvol1 1792 451 1329 25% /stand
/dev/vg00/lvol8 33.3g 16.7g 16.5g 50% /var
/dev/vg00/lvol7 6144 2934 3184 48% /usr
/dev/vg00/lvol6 1024 26 989 3% /tmp
/dev/disk/disk80 20.0g 4292 14.8g 22% /sybase
/dev/vg00/lvol5 10.0g 5638 4565 55% /opt
/dev/vg01/ignite 22.0g 7742 13.5g 36% /ignite
/dev/vg00/lvol4 4096 1486 2589 36% /home
DevFS 0 0 0 100% /dev/deviceFileSystem
/dev/dumps/fsdump 5093.6g 200.1g 4855.3g 4% /dumps

If anyone cares, I'm running HPUX 11.31.

Bill: I'll guess you'll be releasing a new version? :-)

Thanks again!

P.

Rita C Workman
Honored Contributor

Re: bdfmegs ver 5.0

So cool.....I've been a bit out of touch lately, but downloaded your bdfmegs and gave it a try on a couple file systems I have that are just over a terabyte. Works nice...

/dev/meta1/msarip 168.5g 49.8g 117.8g 30% /m-inprocess
/dev/meta1/mlib01 1011.1g 831.8g 177.9g 82% /m-lib01
/dev/meta1/mlib02 1011.1g 256.0g 749.2g 25% /m-lib02
/dev/meta1/mlib03 269.6g 991 266.6g 0% /m-lib03

Thanks Mr. Hassell, sorry I'll miss you and Patrick Monday since I'm taking one of the other seminars....but looking forward to Vegas!

Rgrds,
Rita
Bill Hassell
Honored Contributor

Re: bdfmegs ver 5.0

Here is the fixed version - 5.1


Bill Hassell, sysadmin
Patrick Ware_1
Super Advisor

Re: bdfmegs ver 5.0

Bill, when I try to run version 5.1, I am getting the following:

# bdfmegs
interpreter "/usr/bin/sh" not found
sh: bdfmegs: not found.

I've used previous versions, and never have seen this. Is there something I'm doing wrong?
Patrick Ware_1
Super Advisor

Re: bdfmegs ver 5.0

Nevermind, there were extra characters in the file...

Works good now.
Fabio Ettore
Honored Contributor

Re: bdfmegs ver 5.0

Hi Patrick Ware,

this happens when ftp'ing files in binary mode instead than ascii (and in this case the tool of Bill is an ascii file).

Hope this helps you in the future.

Best regards,
Fabio
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: bdfmegs ver 5.0

...and compliments and thanks to Bill for this interesting tool!

Fabio
WISH? IMPROVEMENT!
Hakki Aydin Ucar
Honored Contributor

Re: bdfmegs ver 5.0

Hi Bill,

Thank you for this announcement, I 'd like to ask that if it is good for HP-UX 11i v1 ?

Bill Hassell
Honored Contributor

Re: bdfmegs ver 5.0

It has been tested with 10.xx and all versions of 11i.

I did fix a bug where the -N and -V options would match a partial VGname (as in vg01 and vg011) so attached is version 5.2.


Bill Hassell, sysadmin