1833777 Members
1796 Online
110063 Solutions
New Discussion

Processor Architecture??

 
Karthik Dathathri
Occasional Contributor

Processor Architecture??

Hello,
May I know how I can find out whether a
machine is on PA RISC 1.1/PA RISC 2.0 architecture?
I came to know that one can use 'getconf'
with some argument called CPU_CHIP_TYPE.But
it gives some numbers like 365 in one m/c and
in another m/c 471.
How can I map these values to processor version?Any pointers.

Thanks
Karthik
5 REPLIES 5
S.K. Chan
Honored Contributor

Re: Processor Architecture??

Use this ..
# echo "cpu_arch_is_1_1/D"|adb -k /stand/vmunix /dev/kmem
and
# echo "cpu_arch_is_2_0/D" | adb -k /stand/vmunix /dev/kmem
The above will return the value 0 or 1. If the second command for example returns 1, it means the processor is at version 2.0.
Another way is to look up in the file ..
/usr/sam/lib/mo/sched.models. For that you got to run ..
# uname -m
first before you can cross reference it with that file.

steven Burgess_2
Honored Contributor

Re: Processor Architecture??

Hi

#model
9000/821/D250

#more /opt/langtools/lib/sched.models | grep D250

D250 1.1d PA7200

HTH

Steve



take your time and think things through
Karthik Dathathri
Occasional Contributor

Re: Processor Architecture??

Hi Chan and Steve,
Thanks for your replies.Both of your replies helped me to get the solution.

1.To get the model of a machine,model command can be used
e.g $model
9000/821/D350
2.To find the processor architecture,I tried
$more /usr/sam/lib/mo/sched.models|grep D350

The output was
D350 1.1d PA7200

Thanks
Karthik
Animesh Chakraborty
Honored Contributor

Re: Processor Architecture??

Hi Karthik,
If you can not remember the syntext in future just go to sam ->Performance Monitors ->system properties
Did you take a backup?
Cheryl Griffin
Honored Contributor

Re: Processor Architecture??

Here's a quick way of displaying it:
# /usr/sam/lbin/samx -C /usr/sam/lib/C/mo.ui

Cheryl
"Downtime is a Crime."