HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts to gather unix system hardware and software confiugration

 
SOLVED
Go to solution
Eric Unix
Frequent Advisor

Scripts to gather unix system hardware and software confiugration

Dear All

Please kindly help me does there are any scripts to gather unix system hardware and software confiugration. Thanks in advance for your great help.

Regards
Eric
Look forward
19 REPLIES
James R. Ferguson
Acclaimed Contributor
Solution

Re: Scripts to gather unix system hardware and software confiugration

Hi Eric:

Ignite offers the 'print_manifest' which creates a nice basic snapshot.

For Itanium servers, use 'machinfo' for a quick hardware overview.

Regards!

...JRF...
Eric Unix
Frequent Advisor

Re: Scripts to gather unix system hardware and software confiugration

Hello James

Thanks a lot. It is great.

BR
eric
Look forward
Eric Unix
Frequent Advisor

Re: Scripts to gather unix system hardware and software confiugration

Hello James

It seems too brief.
Have any more detail scripts to show up our box setting ( hosts, network services, dns setup, ...etc ) . Thanks a lot.

BR
eric
Look forward
Avinash20
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

Please click on the following url:

http://h20331.www2.hp.com/Hpsub/cache/286022-0-0-225-121.html?jumpid=reg_R1002_USEN

Check for "HP-UX additional tools"

These tools are good to get all the H/W and S/W information from the server

I basically use nickel from S/W configuration.

PS: Assign points to the posts.
"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

Hello Avinash V Rao

Great !!
Appreciatively .

BR
eric
Look forward
Eric Unix
Frequent Advisor

Re: Scripts to gather unix system hardware and software confiugration

Hello Avinash V Rao

Does the nickel tool also can used on Itanium box ?

BR
eric
Look forward
Avinash20
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

Yes, the nickel tools can also be used for Itanium
"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

If you just type nickel in ITRC, you will find lot of hits

Please refer to
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1306347
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Suraj K Sankari
Honored Contributor

Re: Scripts to gather unix system hardware and software confiugration

Hi,

Download Nickel it will take care of all the details of your system.

here is the link
ftp://ftp.hp.com/pub/catia/Utils/nickel.shar

Suraj
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

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