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
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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...
Bill Hassell
Honored Contributor

Re: info for PA-RISC

print_manifest is part of the Ignite package so you have Ignite installed. But to answer your question, just run this command:

echo "selclass qualifier all;info;wait;infolog" | /usr/sbin/cstm

This will give you a *LOT* more than you probably wanted, but it is complete.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: info for PA-RISC

Shalom,

Ignite is a basic part of any HP-UX server.

You have been advised to install it to use print_manifest.

There is no need to back up or recover your server to use this tool.

However it should be pointed out: If this server has any purpose at all and does any meaningful work, you are not doing your job as a sysadmin by not using Ignite to back it up.

I can say though I'm currently now working, in the past, Ignite saved several servers of mine and my job on more than one occasion.

You SHOULD be using Ignite.

End lecture.

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
Kranti Mahmud
Honored Contributor

Re: info for PA-RISC

Hi gany59

=> i need the my server information like serial no, no.of cores in a processor==>

==> U can check all the information of he server by running the nickel script. Please find the script with the procedure.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Kranti Mahmud
Honored Contributor

Re: info for PA-RISC

Hi gany59,

From nickel.tar.gz check the cstm.html file for the server information like serial no, no.of cores in a processor.


Rgds-Kranti
Dont look BACK as U will miss something INFRONT!