Operating System - HP-UX
1752604 Members
4873 Online
108788 Solutions
New Discussion юеВ

Re: Scripts to gather unix system hardware and software confiugration

 
SOLVED
Go to solution
Eric  Unix
Frequent Advisor

Re: Scripts to gather unix system hardware and software confiugration

Hello Avinash V Rao

I got errors show up as follows :

adb: info: Option -k is deprecated.
adb: warning: Unrecognized format character - 'U'.
adb: info: Option -k is deprecated.
adb: warning: Unrecognized format character - 'D'.
adb: info: Option -k is deprecated.
adb: warning: Unrecognized format character - 'X'.
adb: info: Option -k is deprecated.
adb: info: Option -k is deprecated.
adb: warning: Unrecognized format character - 'X'.
adb: info: Option -k is deprecated.
/opt/contrib/bin/nickel[2]: There is not enough memory available now.


Do you have any good idea about this issue ?

BR
eric
Look forward
Dennis Handly
Acclaimed Contributor

Re: Scripts to gather unix system hardware and software confiugration

>I got errors show up as follows:
adb: info: Option -k is deprecated.
adb: warning: Unrecognized format character - 'U'.

You need to add -o to adb. Also remove -k.
Avinash20
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

Edit the nickel script and remove the "-k" from all the "adb" commands. That will cure your warnings.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Eric  Unix
Frequent Advisor

Re: Scripts to gather unix system hardware and software confiugration

Hi Denis

Thanks it work now !
But still got only one error below --->

/opt/contrib/bin/nickel[2]: There is not enough memory available now.

BR
eric
Look forward
Avinash20
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

run sh -x /usr/contrib/nickel and see on which command nickel fails

Also
# ulimit -m unlimited

And check again if the nickel script runs fine.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

Also you could well refer to the below thread which will help you

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=260686&admit=109447626+1235634636695+28353475
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Emil Velez
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration


In addition to what others have suggested

print_manifest being the best

Measureware (Performance Agent) collects system configuration infomration in the TBL and GBL resource classses so you can see the value of some kernel parameters, disks, memory configuration across time if something was changed.

Robert-Jan Goossens
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

Hi Eric,

There is one other that should be mentioned.

http://www.cfg2html.com/

Cfg2html is a UNIX shell script similar to check_config or get_config, except that it creates a HTML (and plain ASCII) system documentation for HP-UX 10.xx/11.xx, Integrity Virtual Machine, SCO-UNIX, AIX, Sun OS and Linux systems. Plug-ins for SAP, Oracle, Informix, Serviceguard, Fibre Channel/SAN, TIP/ix, Mass Storage like MAS, EVAx000,XP48/128/256/512/1024,1x000/2x000, Network Node Manager and OmniBack/DataProtector etc. are included. The first versions of cfg2html were written for HP-UX. Meanwhile the cfg2html HP-UX stream was ported to major *NIX platforms and small embedded systems.

Regards,
Robert-Jan
Arturo Galbiati
Esteemed Contributor

Re: Scripts to gather unix system hardware and software confiugration

Hi Eric,
I used a very good script by Bill Hassell to collect the info. I don't know if this fill your reqs or not.
HTH,
Art
Eric  Unix
Frequent Advisor

Re: Scripts to gather unix system hardware and software confiugration

Hello All

Appreciate all of your great help.
:-) ...

BR
eric
Look forward