HPE 9000 and HPE e3000 Servers
1748161 Members
3794 Online
108758 Solutions
New Discussion юеВ

Re: How to find the CPU type and CPU speed in PA-RISC servers

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to find the CPU type and CPU speed in PA-RISC servers

Hi All,

I am having some HP PA-RISC servers.

Now i want to view CPU type (Inter or AMD) and CPU Speed.

19 REPLIES 19
Pete Randall
Outstanding Contributor
Solution

Re: How to find the CPU type and CPU speed in PA-RISC servers

> Now i want to view CPU type (Inter or AMD) and CPU Speed.

You already gave the type: HP PA-RISC. It's HP's architecture, specifically for HP-UX.

CPU speed can be obtained with this little script snippet:

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Pete

Pete
Tim Nelson
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

PROC_SPEED=`echo itick_per_usec/D | adb -k /stand/vmunix /dev/kmem |awk -F: 'NR>1 {print $2}'`
NU_PROC=`echo "runningprocs/D" | adb -k /stand/vmunix /dev/kmem |awk -F: 'NR>1 {print $2}'`
MODEL=`model|awk -F/ '{print $3}'`
MEM=`echo "phys_mem_pages/D"| adb -k /stand/vmunix /dev/kmem |awk -F: 'NR>1 {print$2}'`
Bill Hassell
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

A much easier to read listing is this command:

# print_manifest

NOTE: you will not see Intel or AMD for PA-RISC. These are proprietary chips designed by HP and have no relationship to PC hardware at all. The PA-RISC systems cannot run Windows or Linux, only HP-UX. If you have newer hardware called Itanium (also know as Integrity or IA64, etc), these are 64 bit CISC (not RISC) and they can run certain versions of Windows, Linux and of course, HP-UX. But unlike a PC, they have virtually no interchangeable parts like USB disks or I/O cards. Even PCI cards must be HP-compatible.


Bill Hassell, sysadmin
Raj D.
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

SenthilKumar,
IF you know the model of the server, from the server data sheet you can know the type of PA-RISC processor like PA-8400 or PA-8500 or PA-8600 , PA-8700 or PA-8800 or PA-8900 (Latest 2005).

Once the processor details are known freqency also can be found.



To See Model:
# model

Architecture: (PA-Risc or Itanium):
# uname -a


Other cpu details you can find using cstm:
# echo 'selclass qualifier cpu;info;wait;infolog ' | /usr/sbin/cstm




>Now i want to view CPU type (Inter or AMD) and CPU Speed.

Btw: PA-RISC server will have only Hewlett Packard PA-8X00 based processor. ( not AMD or Intel.)


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
senthil_kumar_1
Super Advisor

Re: How to find the CPU type and CPU speed in PA-RISC servers

How to find the CPU cores.
Raj D.
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

Senthil Kumar,

See the PA-8000 series processors: excep PA-8800 and PA-8900 all risc processors are single core till 2004.

__________________________
PA-8000 :Single Core.
PA-8200 :Single Core.
PA-8500 :Single Core.
PA-8600 :Single Core.
PA-8700 :Single Core.

PA-8800 : Dual Core cpu.
PA-8900 : Dual Core cpu.


* PA-8800 and PA-8900, dual core PA-RISC processors. PA-8800 released on 2004.

PA-8900 : It was the last PA-RISC microprocessor to be developed and was introduced on May 2005 ]

What is the model of your server. Are you able to figure out the processor type.

Hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

Senthil,

Also check out this links:
For identifying dual core cpu:
This question raised many times with the links below:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1222330

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1236376


On hp-ux 11.23 you can find a utility called /usr/contrib/bin/machinfo that gives more granularity of CPU info , like "4 logical processors (2 per socket)" i.e dual core. [ 2 per socket]


Hth.
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Hakki Aydin Ucar
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

>Bill: ..these are 64 bit CISC (not RISC)..

Actually , Itanium is a family of 64-bit Intel
microprocessors that implement the Intel Itanium architecture (formerly called IA-64).
And ,correct me if I am mistaken but now EPIC (Explicitly Parallel Instruction Computing) processor
architecture is used in Integrity servers.
Suraj K Sankari
Honored Contributor

Re: How to find the CPU type and CPU speed in PA-RISC servers

Hi Santhil,
you can try with this commands

echo "selclass qualifier cpu;info;wait;il" | cstm

or

machinfo -v

Suraj