System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how could I determine CPU Structure

alert0919
Advisor

how could I determine CPU Structure

how could I determine CPU Structure
PA-RISC or Itanium using by Shell Script
thanks

2 REPLIES
Matti_Kurkela
Honored Contributor

Re: how could I determine CPU Structure

For example:

case $(model) in
9000/*)
echo "PA-RISC"
;;
ia64*)
echo "Itanium"
;;
*)
echo "ERROR: could not determine CPU architecture"
;;
esac

MK
MK
James R. Ferguson
Acclaimed Contributor

Re: how could I determine CPU Structure

Hi:

# uname -m

...returns "ia64" for Itanium, "9000/800" for PA-RISC servers and "9000/700" for PA-RISC workstations.

Regards!

...JRF...