Operating System - HP-UX
1833747 Members
2553 Online
110063 Solutions
New Discussion

HP-UX System Configuration Collection Script.

 
SOLVED
Go to solution
R.M.PANDIAN
Occasional Advisor

HP-UX System Configuration Collection Script.

Hi,

I am looking for a script that collects system config information for future reference. It should collect information such as "swapinfo", "vgdisplay"...etc.

Ignite-UX has a command called print_manifest. But the info it collects is not comprehensive enough.

Any help would be greatly appreciated.

Thanks
.....PAndian.........
There is a solution to every problem
12 REPLIES 12
Michael Tully
Honored Contributor

Re: HP-UX System Configuration Collection Script.

I used to run these commands into 'script' to get the information prior to ignite being around.

VOLUME GROUP OUTPUT
Look for Spare Disks
Volume Group vg00
Other Volume Groups
COntents of /etc/fstab
ioscan output
Operating System & other HP supplied
Other Vendor Supplied Software
Kernel Information
lsdev
sysdef
/etc/services
/etc/inetd.conf
/etc/inittab
Run Level start/stop
/etc/syslog.conf
Swap & Dump Information
Lan related parameters
Printer Information
User Administration
Crontab & at
Essential Processes

HTH
-Michael
Anyone for a Mutiny ?
Scott Van Kalken
Esteemed Contributor

Re: HP-UX System Configuration Collection Script.

A good place for such scripts I've found (apart from ftp.hp.com) is this one:

http://www.introcomp.co.uk/hpux/index.html

It has scripts already written, so no need to write your own.

Hope this helps.

Scott.
Frank Casper
New Member

Re: HP-UX System Configuration Collection Script.

Michael Tully
Honored Contributor

Re: HP-UX System Configuration Collection Script.

Hi,

Here some links to scripts that you may find useful:

http://www.grc.hp.com/docs/nickel/
http://members.tripod.com/rose_swe/cfg/cfg.html

-Michael
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: HP-UX System Configuration Collection Script.

Hi,

Try cfg2html,

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

Hope this helps.

regds
Sebastian Galeski_1
Trusted Contributor
Solution

Re: HP-UX System Configuration Collection Script.

Untar this archive, give x permition to all files and use get_all
Hope it help.
V. V. Ravi Kumar_1
Respected Contributor

Re: HP-UX System Configuration Collection Script.

Hi,

cfg2html is the best utility. it gives an html file and a text file which clearly describes the system configuration.
the following link will help u.
http://members.tripod.com/rose_swe/cfg/cfg.html

regds
ravi

Never Say No
Deshpande Prashant
Honored Contributor

Re: HP-UX System Configuration Collection Script.

Hi

Check this.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html

Also check the attached SysInfo script.

Thanks.
Prashant Deshpande.
Take it as it comes.
Jeff Schussele
Honored Contributor

Re: HP-UX System Configuration Collection Script.

Hi,


I'd also recommend the sysinfo utility - available at:

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

Get the pre-compiled version. Highly recommended. Gives complete details on firmware, disk pathing, LVM info, etc.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Mike_305
Super Advisor

Re: HP-UX System Configuration Collection Script.

Hi,

If you have ignite loaded the their is a script called "print_manifest" unser /opt/ignite/bin run that and redirect to a file.

Thanks,

Mike
If there is problem then don't think as problem, think as opportunity.
John Payne_2
Honored Contributor

Re: HP-UX System Configuration Collection Script.

We use cfg2html quite extensively here. It works very well. The one drawback is that it really does not see non-depot installed software. Other than that, you get an excellent picture of your machine's environment. You should have the HPUX diagnostics installed, though. (Found on the application cd and the Support Plus cd.)

Hope it helps

John
Spoon!!!!

Re: HP-UX System Configuration Collection Script.

Hi Pandian

As other have already suggested cfgtohtml, I also back the same. I am using this script on both HP and SUN and its works fine. It almost provides all the information required.