Operating System - HP-UX
1834142 Members
2167 Online
110064 Solutions
New Discussion

Re: Script to get configuration Information?

 
SOLVED
Go to solution
MAD_2
Super Advisor

Script to get configuration Information?

Anyone has a script that will get system configuration information or can tell me of a tool I can use for this purpose?

I would like to get as many details as possible. Basically just about everything you can get by navigating through SAM (no, I do not want to use SAM). I would like to have something I can use so that I can produce a report in a jiffy with the most current information about my system.

Currently I have an RP5470 (model 9000/800/L3000-5x). Also, can anyone tell me where I can go to get information on how to get the "Instant Ignition System Information". Whoever configured the system originally produced this document and it contains some of the information I want.

Thanks,
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
19 REPLIES 19
Tom Maloy
Respected Contributor

Re: Script to get configuration Information?

/opt/ignite/bin/make_config

will gather the Ignite configuration information.

Tom
Carpe diem!
Hai Nguyen_1
Honored Contributor

Re: Script to get configuration Information?

Adam,

Try the following command:
# /opt/ignite/bin/print_manifest > /tmp/manifest.txt

Which will, as well, produce a detailed text file of your system configurations in /var/opt/ignite/local/manifest/manifest.info.

Hai

Pete Randall
Outstanding Contributor

Re: Script to get configuration Information?

Have a look at print_manifest (man print_manifest). It's part of Ignite, I believe, and gives a pretty comprehensive report.

Pete

Pete
harry d brown jr
Honored Contributor

Re: Script to get configuration Information?

/opt/ignite/bin/print_manifest


live free or die
harry
Live Free or Die
S.K. Chan
Honored Contributor

Re: Script to get configuration Information?

Apart from what's been suggested, got a hold of nickel, you can also use STM and other tool like cfg2html. Take a look ..
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x03c894f22a31d6118fff0090279cd0f9,00.html
Tom Maloy
Respected Contributor

Re: Script to get configuration Information?

Adam,

Oops. It is print_manifest, not make_config.

Going for more caffeine now...

Tom
Carpe diem!
Uday_S_Ankolekar
Honored Contributor

Re: Script to get configuration Information?

Hello,
Try this sysinfo script. It gives almost all informations about system. You can get html format too.

Here is the thread..
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/

Goodluck,

-USA..
Good Luck..
Sean OB_1
Honored Contributor

Re: Script to get configuration Information?

Try this command:

/opt/ignite/bin/print_manifest

Deshpande Prashant
Honored Contributor
Solution

Re: Script to get configuration Information?

Hi
Some more scripts.

http://members.tripod.com/rose_swe/cfg/cfg.html

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/

/opt/ignite/bin/print_manifest from ignite.
Thanks.
Prashant.
Take it as it comes.
Kelli Ward
Trusted Contributor

Re: Script to get configuration Information?

print_manifest is a nice built-in for a lot of good configuration info.
Also, on HP-UX 11.x it should come included in the /opt/ignite/bin directory regardless of whether or not you have ignite installed.

Check it out,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
MAD_2
Super Advisor

Re: Script to get configuration Information?

Thanks everyone. Uday, is the tool you mentioned,sysinfo tool, only good for HP-UX 10.2 or will it work on HP-UX 11.0 (that's what I have)

I will assign points to those of you who pointed me to another forum or to check other tools once I get a chance to see what they are about.
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Uday_S_Ankolekar
Honored Contributor

Re: Script to get configuration Information?

Adam,

It will run on both OS ver. I'm using it..
There is also a new version available but the one I gave you works fine with any version.
Here is the thread for new .

http://sde.mayfield.hp.com/projects/Tech/sysinfo_system_collect/home.htm

Goodluck,

-USA..
Good Luck..
harry d brown jr
Honored Contributor

Re: Script to get configuration Information?

Adam,

I usually take the output of these commands to document a system:

# get a LOT of info

/opt/ignite/bin/print_manifest (NOTE if you don't have it on your system, then install the LATEST ignite!)

# get mount stuff
cat /etc/fstab

# get network stuff
cat /etc/rc.config.d/netconf

# get device stuff
ioscan -fn

And of course I make a Visio diagram of my system using the HP supplied Stencils:

Current Products Set (EXE zip File) Contains all current stencils
Visio 4 or 5 http://www.sisp.hp.com/SISP/info/version5/visiostencils.exe
Visio 2000 http://www.sisp.hp.com/SISP/info/visio2000/visiostencils2k.exe


Classic Products Set (EXE zip File) Contains all "classic" stencils
Visio 4 or 5 http://www.sisp.hp.com/SISP/info/version5/visioclassicstencils.exe
Visio 2000 http://www.sisp.hp.com/SISP/info/visio2000/visioclassicstencils2k.exe


live free or die
harry
Live Free or Die
MAD_2
Super Advisor

Re: Script to get configuration Information?

Thanks everyone for your input, S.J. I really liked the output from "nickel" but also like the look of the examples provided for the "cfg2html" tool in the link you gave me; I may try to run cfg2html today in my HP-UX systems and the SCO server I have.

Uday, I was unable to open the link you provided for the new syslog tool:
http://sde.mayfield.hp.com/projects/Tech/sysinfo_system_collect/home.htm
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
MAD_2
Super Advisor

Re: Script to get configuration Information?

Sorry, in the beginning of my previous reply I meant J.K. Chan (the link he provided is worth anyone's time, it provides a previous discussion where the links to most of these tools are provided). Once again, I appreciate everyone's prompt responses and participation!
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
GregD at VisioCafe.com
Frequent Advisor

Re: Script to get configuration Information?

Hi, well that link is an outdated server that hasn't been updated since last October.

There is new server though,

Check out the home of all HP owned Visio Stencils.

http://www.visiocafe.com

Greg Drinkwater
VSD Grafx Inc.
visio-cafe@hp.com
HP's Official Visio Collection www.VisioCafe.com
MAD_2
Super Advisor

Re: Script to get configuration Information?

Greg,

I have no clue of why you responded to my thread. Your response does not get near my subject "Script to get configuration Information-HP-UX 11.0" and the link provided by J.K. Chan still good as it was back when he provided his response (when was it? August 2002, man time flies)

ADAM
Contrary to popular belief, Unix is user friendly. It's just very particular about who it makes friends with
Pete Randall
Outstanding Contributor

Re: Script to get configuration Information?

Adam,

I noticed yesterday that Greg was basically searching out and responding to any thread that made mention of "visio". Harry's response mentioned visio websites, so you get blessed with Greg's update, whether you needed it or not! Sometimes, that's just the way life is!!


Pete

Pete
GregD at VisioCafe.com
Frequent Advisor

Re: Script to get configuration Information?

Hi, sorry if my post looks off topic, but the message talking about the link to www.sisp.hp.com is the one I was intending to ammend. That server is stale, and is not being updated, so I did a search for sisp.hp.com and responded to each thread just to let people know about the new server.

I am the person who drew most of the visio shapes in there, and still do. It is a free HP site, not a pay thing, just so you know I am not trying to spam the forums for personal gain or anything...

Anyway, I am going to try to be very active in the forums from now on, to answer Visio questions and such, so I hope to talk to you again sometime.

Greg
HP's Official Visio Collection www.VisioCafe.com