Operating System - HP-UX
1753805 Members
7858 Online
108805 Solutions
New Discussion юеВ

Re: How to get processor type on HP

 
BBKKPP
Occasional Contributor

How to get processor type on HP

Hi all,

How can we get processor type on HP?
e.g PA-8900
How i will ge this string?

Thanks in advance,


5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: How to get processor type on HP

Many different ways - on Integrity systems or all systems running 11.31 use

/usr/contrib/bin/machinfo

or

use sam -> performance monitor -> system properties,

or

use stm, example output about the system entry:

...
FRU INFORMATION

Module Revision
------ --------
PA 8800 CPU Module 3.2
PA 8800 CPU Module 3.2
PA 8800 CPU Module 3.2
PA 8800 CPU Module 3.2
...

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!   
BBKKPP
Occasional Contributor

Re: How to get processor type on HP

Hi,
thanks for reply.

%uname -a
HP-UX vdelta B.11.11 U 9000/800 109092009 unlimited-user license

My Hp version is 11.11, so machinfo is not there, is there any command or API by which I can detect the processor type.

Torsten.
Acclaimed Contributor

Re: How to get processor type on HP

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

# echo "sel dev 1;info;wait;il"|cstm

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!   
BBKKPP
Occasional Contributor

Re: How to get processor type on HP

Thnak you, it is giving expected output

Re: How to get processor type on HP

Hi,

What you need to be careful of in a virtualized world, is what various commands report is not necessarily "the truth" from a physical perspective, or from the perspective of a given application.

I think you said in your other threaf that you need to figure out the number of cores available to an application for licensing purposes.

You might also want to take a look at this technical paper which discusses how applications should programatically figure out what their environment looks like:

http://docs.hp.com/en/9450/vse_tips_for_application_developers.pdf

HTH

Duncan


I am an HPE Employee
Accept or Kudo