Operating System - HP-UX
1833873 Members
1856 Online
110063 Solutions
New Discussion

Re: HPUX - commands to identify system particulars

 
Gavin Westermann
Frequent Advisor

HPUX - commands to identify system particulars

I am looking for some commands with a little more clout that uname so that I can do a comparison of two HPUX servers. RAM, Proccessors, interfaces etc. Any help would be appreciated
16 REPLIES 16
Patrick Wallek
Honored Contributor

Re: HPUX - commands to identify system particulars

If you have Ignite/UX installed you can use print_manifest.

# /opt/ignite/bin/print_manifest | lp -dprintername

or if you want the output sent to a file:

# /opt/ignite/bin/print_manifest > /tmp/system_name.manifest

John Poff
Honored Contributor

Re: HPUX - commands to identify system particulars

Hi,

One of my favorites is the 'print_manifest' command, which is available if you have installed Ignite-UX. It will give you a great report about each system.

JP
James R. Ferguson
Acclaimed Contributor

Re: HPUX - commands to identify system particulars

Hi:

# ioscan -kfn
# model
# echo "selclass qualifier memory;info;wait;infolog" | cstm > /tmp/meminfo
# echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/cpuinfo

Regards!

...JRF...
Paul Sperry
Honored Contributor

Re: HPUX - commands to identify system particulars

model

or

sam
Performance Monitors
system properties
James R. Ferguson
Acclaimed Contributor

Re: HPUX - commands to identify system particulars

Hi (again):

...and of course, since you routinely run Ignite 'make_tape_recovery', you already have a gratuitous "manifest" available:

# /var/opt/ignite/recovery/latest/manifest

Regards!

...JRF...
Michael Tully
Honored Contributor

Re: HPUX - commands to identify system particulars

Use the outout of the ignite called /opt/ignite/bin/print_manifest
or view /var/opt/ignite/recovery/latest/manifest

If you don't have it installed, get it installed.

There are some other programs that can generate some of these:

# echo "selclass qualifier cpu;info;wait;infolog" | cstm

# echo "selclass qualifier memory;info;wait;infolog" | cstm

# echo "selclass type disk;info;wait;infolog" | cstm

# echo "selclass type lan;info;wait;infolog" | cstm

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"

Anyone for a Mutiny ?
Tom Ward_1
Honored Contributor

Re: HPUX - commands to identify system particulars

As others have said, Ignite's print_manifest is a goot command. Another one the I really like is Support Tools Manager -- xstm, mstm and cstm.

This is for hardware only. It won't give you a summary like print_manifest, but it will give you lots of good details. It'll point out if you have bad memory or other hardware problems, and it will provide info such as firmware rev levels. Perhaps more than you want, but I'd encourage you to check it out.
Gavin Westermann
Frequent Advisor

Re: HPUX - commands to identify system particulars

Ignite was great for the box with 11.11 but I have an old on running 10.20
James R. Ferguson
Acclaimed Contributor

Re: HPUX - commands to identify system particulars

Hi Gavin:

Download a current version of Ignite for 10.20 while there is still time!

You want version "A" A.3.7.95 from here;

http://www.software.hp.com/products/IUX/download.html

The 'make_recovery_tape' tool is the same as in the 11.x "B" version, including the Ignite manifest features.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: HPUX - commands to identify system particulars

Ignite works the same on 10.20 as it does on 11.X machines. You just need to download the A version rather than the B version.

The latest for 10.20 is A.3.7.95 and is available at:

http://software.hp.com/products/IUX/download.html#down10
Tom Ward_1
Honored Contributor

Re: HPUX - commands to identify system particulars

Today's your lucky day. Even if you don't have Ignite installed you should still have /opt/ignite/bin/print_manifest. That seems to be installed during the OS install even if there's no Ignite installed.

BTW, you really should install Ignite and make a recovery tape before you need it.

Good luck,
Tom
malay boy
Trusted Contributor

Re: HPUX - commands to identify system particulars

Hey,
Nickel also good.See attachment.
There are three person in my team-Me ,myself and I.
Geoff Wild
Honored Contributor

Re: HPUX - commands to identify system particulars

cfg2html - great for documentation and cross platform.

http://come.to/cfg2html



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor

Re: HPUX - commands to identify system particulars

As mentioned, Ignite is available for 10.20. Get the latest version ASAP. Then make a good VG00 backup using make_tape_recovery. You'll need it some day. And note that June 2003 marks the end of 10.20 (totally obsolete) so continued use of 10.20 in production is a risky venture. There have been no maintenance patches (except security) since Dec 2001.


Bill Hassell, sysadmin
Pete Randall
Outstanding Contributor

Re: HPUX - commands to identify system particulars

I use something like this:

echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "with" `ioscan -k |grep -n p
rocessor |wc -l` `cpuspeed` "Mhz processors and" `memory` "KB of memory"



The cpuspeed script contains:

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ



The memory script contains:

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" | adb $HPUX /dev/kmem | grep "${MYSYMBOL}: *." | awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM



Other interfaces could be obtained through ioscan.


Pete

Pete
David F. Mood
New Member

Re: HPUX - commands to identify system particulars

I have found that cfg2html collects just about everything needed. See http://come.to/cfg2html