1833326 Members
3424 Online
110051 Solutions
New Discussion

Re: Determining IA or PA

 
SOLVED
Go to solution
yatin
Frequent Advisor

Determining IA or PA

How can I determine which system i am using IA or PA from command line
9 REPLIES 9
Elmar P. Kolkman
Honored Contributor

Re: Determining IA or PA

uname -r is a way: for IA it will report something like B.11.22 or B.11.23, anything else should be PA_RISC.
Or use model, though I don't know what will be reported on IA systems.
Every problem has at least one solution. Only some solutions are harder to find.
ranganath ramachandra
Esteemed Contributor
Solution

Re: Determining IA or PA

use the uname command.
on IA:
-bash-2.05b$ uname -m
ia64
on PA:
bash-2.01$ uname -m
9000/800

 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Michael Tully
Honored Contributor

Re: Determining IA or PA

uname -a
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Determining IA or PA

I should have been more specific:

11.11 system PA-RISC
uname -a
HP-UX serverX B.11.23 U ia64 12345678090 unlimited-user license

itanium
uname -a
HP-UX serverY B.11.11 U 9000/800 3284783283 unlimited-user license

and another

getconf MACHINE_MODEL
will give some additional info
Anyone for a Mutiny ?
Muthukumar_5
Honored Contributor

Re: Determining IA or PA

hai,

We can get the machine type with uname -m command. But there is a regulation in usign uname with -m as,

----- man uname --
It is recommended that the model command or the getconf command be used to obtain the model name, since future model names may not be compatible with uname. See model(1) and getconf(1).

----------------
Using model command
===================
# model
IA> ia64 hp server rx2600

PA > 9000/800/A500-5X

Using getconf
=============
# getconf MACHINE_MODEL

We can know the machine model effectively.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Michael Tully
Honored Contributor

Re: Determining IA or PA

Geez I got these back the front ....

itanium
# uname -a
HP-UX serverX B.11.23 U ia64 12345678090 unlimited-user license

11.11 system PA-RISC
# uname -a
HP-UX serverY B.11.11 U 9000/800 3284783283 unlimited-user license

and another

# getconf MACHINE_MODEL
ia64 hp server rx7620 (itanium)
9000/800/N4000-55 (PA-RISC)
Anyone for a Mutiny ?
Jan Sladky
Trusted Contributor

Re: Determining IA or PA

hi,

following is not from my head, I red it few days ago here but I can't find it now:

getconf CPU_VERSION - give CPU version:

528-PA1.1,
532-PA2.0,
768-IA64 (aka Itanium, aka IPF)

info is taken from /usr/include/sys/unistd.h

br Jan
GSM, Intelligent Networks, UNIX
rick jones
Honored Contributor

Re: Determining IA or PA

fwiw, keying off of the release will work for _now_ but in the future, there will be a time when IA and PA systems run identically numbered OS releases, so going with the other ideas will have longer applicabiltiy.
there is no rest for the wicked yet the virtuous have no pillows
Tim Sanko
Trusted Contributor

Re: Determining IA or PA

getconf CPU-VERSION
uname -a
model

These three commands will provide you with the needed information.

I personally use the uname -a as the 11.11 and below are PA-RISC and the 11.22 and above are IA-64. There is supposed to be a merged version on the Horizon. Then you would use the command:model.

Hope that helps.

Tim