HPE 9000 and HPE e3000 Servers
1753675 Members
4980 Online
108799 Solutions
New Discussion юеВ

Re: How find out the processor model (HP9000) from a script?

 
SOLVED
Go to solution
Jdamian
Respected Contributor

How find out the processor model (HP9000) from a script?

Hi

I'm interested to create a script in order to find out the processor model (PA8900, PA7300, PA8600 ...) of my boxes.

- But STM display that info but not in all the boxes.

- SAM reports that info but it SAM is not useful from a script.

Does the system variable CPU_VERSION (getconf) provide that info? How to decode?

Do you know other methods?

Thanx in advance
3 REPLIES 3
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: How find out the processor model (HP9000) from a script?

Hi Oscar,

You could try Merijn's script.

http://mirrors.develooper.com/hpux/ux

http://mirrors.develooper.com/hpux/faq.html

Regards,
Robert-Jan
Arturo Galbiati
Esteemed Contributor

Re: How find out the processor model (HP9000) from a script?

Hi,
try this:
perl -MUnix::Processors -le'print join"\t",$_->id,$_->state,$_->type,$_->clock for @{Unix::Processors->new()->processors}'

HTH,
Art
Jdamian
Respected Contributor

Re: How find out the processor model (HP9000) from a script?

.