Operating System - HP-UX
1752273 Members
4813 Online
108786 Solutions
New Discussion юеВ

Re: how to distinguish whether a server is IA or PA-RISC architecture

 
Javed Khan_1
Valued Contributor

Re: how to distinguish whether a server is IA or PA-RISC architecture

Hi,

if i am correct L3000-7X is nothing but RP5470

Javed
Never Give Up
R.K. #
Honored Contributor

Re: how to distinguish whether a server is IA or PA-RISC architecture


>>> if i am correct L3000-7X is nothing but RP5470
Yes


>>> if model number starts with RP**** then it's PA-RISC
NOT in every case


As can be seen:
# model
9000/800/L3000-7x
Though the server L3000 (RP5470) is pa-risc but still "model" command does NOT say RP**** (in writing).


>>> i have a shell script, in this script, i need to estimate whether the server is a PA-Risc or IA
And when comes to scripting we should try to use a command which gives output as GENERAL as possible. "model" command starts with 9000 (this means it is pa-risc). This, I think is more general and better for scripting purpose.
Don't fix what ain't broke
R.K. #
Honored Contributor

Re: how to distinguish whether a server is IA or PA-RISC architecture

And so do "uname -m".
Don't fix what ain't broke
Ashis Kumar Lenka
Occasional Contributor

Re: how to distinguish whether a server is IA or PA-RISC architecture

All the above options are correct. We can use any one of them to identify type of model