1752587 Members
4630 Online
108788 Solutions
New Discussion юеВ

Re: info for PA-RISC

 
gany59
Regular Advisor

info for PA-RISC

Could anybody tell how to get info for PA-RISC server architecture hpux 11.11. I know the print manifest command works, but if ignite is not installed .. what we do
13 REPLIES 13
James R. Ferguson
Acclaimed Contributor

Re: info for PA-RISC

Hi:

I think your problem isn't getting configuration details, but rather that without Ignite you have no recovery capability short of a cold-install and total localization of your configuration!

Install Ignite; take backup images with it; be protected; and enjoy the 'print_manifest' that comes with it.

Ignite is fee and doesn't require a reboot to install:

http://docs.hp.com/en/IUX/download.html

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: info for PA-RISC

This question appears so frequently that I documented all the possibilities that I could think of:


If you have Ignite installed, you can use the print_manifest command.

You can also use SAM to display system properties (Sam -> Performance
Monitors -> System Properties).

There are also utilities like "cfg2html" ( http://come.to/cfg2html ),
"nickel" ( ftp://ftp.hp.com/pub/catia/Utils/nickel.shar ) and "sysinfo"
( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/ ).

You can also obtain this information from the command line with a
series of little scripts like these:

CPU

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

#Note: for 11.23 RISC, use
MHZ=$(echo itick_per_tick/D \ # echo "itick_per_usec/d" \
| adb -k $HPUX /dev/kmem \ # | adb $HPUX /dev/kmem
| tail -1 \ #For Itanium, use machinfo
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Number of CPUs

ioscan -k |grep -n processor |wc -l


Support Tools Manager (STM) CPU info:

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




RAM

HPUX=/stand/vmunixMAJORREV=$(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


Support Tools Manager (STM) RAM info:

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




You can obtain CPU speed and RAM without CSTM or root access as described by Tom
Ferony (under Nancy Rippey's login) here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete
gany59
Regular Advisor

Re: info for PA-RISC

Hi JRF
I dont want to recover or installing the ignite. i need the my server information like serial no, no.of cores in a processor
Steven E. Protter
Exalted Contributor

Re: info for PA-RISC

Shalom,

As Ignite is freely available from http://software.hp.com there is nothing stopping you from doing the installation and getting the information.

There are a number of free tools and scripts available with this information in the forums as well.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=178514

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gany59
Regular Advisor

Re: info for PA-RISC

Apart from these things what u people said any command is there.Any way i assign the points to u ..
Pete Randall
Outstanding Contributor

Re: info for PA-RISC

Did you read my answer? I know it mentions Ignite in the first sentence, but it then goes on to list all kinds of command line alternatives.

Since you mention them specifically, your best bet for number of cores and serial number info, will be cstm.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: info for PA-RISC

I'm not exactly sure what you want to know by "server architecture".

However, mstm/cstm and ioscan can help you.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sharma Sanjeev
Respected Contributor

Re: info for PA-RISC

Hi Gany59

You can use CSTM/STM whcih will give you all info about your system

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
James R. Ferguson
Acclaimed Contributor

Re: info for PA-RISC

Hi:

> I dont want to recover or installing the ignite.

I understand that you have no need to recover at this time. My point is do you care about recovering easily if you lose your boot disk(s)? Do you believe in insurance policies?

Install Ignite; use it to protect your server; use it if you ever need to recovery and/or clone your configuration. In the process you get the tool you seek, anyway.

Regards!


...JRF...