HP 9000
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?

.