Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
HP 9000 and HP e3000 Servers
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?

.