Operating System - HP-UX
1825601 Members
2772 Online
109682 Solutions
New Discussion

Dual Core CPU - How to verify

 
Shouvik Basak
Occasional Advisor

Dual Core CPU - How to verify

We have the following HP-UX 11.11 servers:

1) rp8420 showing CPU version - CPU(0A)PA8800 3.1 and No. of CPU = 32

2) rp7410 showing CPU version - CPU(0)PA8700 3.1 and No. of CPU = 6

3) S16K-A showing CPU version - CPU(0)PA8700 3.1 and No. of CPU = 12

I have to confirm how many "Dual Core CPU" are present. How can I verify this ?

Thanks,
Shouvik
Think, think and think...before you jump
15 REPLIES 15
Robert-Jan Goossens
Honored Contributor

Re: Dual Core CPU - How to verify

Hi Shouvik,

Try these,

# ioscan -fnkCprocessor

# echo "sc product cpu;il" | /usr/sbin/cstm | grep 'CPU Module'

Regards,
Robert-Jan
Devender Khatana
Honored Contributor

Re: Dual Core CPU - How to verify

Hi,

Only PA8800 is a dual core CPU. So only your rp8420 has 32 CPUs. In fact these are 16 dual core CPUs. In OS and applications you will see 32 CPUs only.

HTH,
Devender
Impossible itself mentions "I m possible"
Steven E. Protter
Exalted Contributor

Re: Dual Core CPU - How to verify

Shalom Shouvik,

top will slow you how many cpu's you have, though there may be limitations I don't know about due to the fact the most CPU's I've worked with is 8.

cstm will definitely show you as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muthukumar_5
Honored Contributor

Re: Dual Core CPU - How to verify

sam -> performance monitor -> system properties -> processor give details about processor.

top will give processor count.

--
Muthu
Easy to suggest when don't know about the problem!
Devender Khatana
Honored Contributor

Re: Dual Core CPU - How to verify

Hi,

All the methods mentioned above will show two processors for every physical CPU as at hardware level you will get two CPUs for each physical CPU. At PDC prompt only it should show corretly which I am not sure as I did not had any opportunity to work on such servers yet.

HTH,
Devender
Impossible itself mentions "I m possible"
Shouvik Basak
Occasional Advisor

Re: Dual Core CPU - How to verify

Devendra, your info about PA8800 being a dual core cpu was useful.

I could not get a direct "command" to get the information about dual core cpu. I took the output of "parstatus" which shows No. of CPU for every cell board. As a cell board can support maximum 4 cpu in slots, anything more than 4 in multiple of 2 has to be dual core. Also as single and dual core cpu may not be mixed in a cell board (as far as my understanding) even if there are 6 CPUs in a cell board, we may conclude that there are 3 dual core cpus.

Also, PA-8800 and PA-8900 are only dual core CPUs.

Thanks all for your suggestions.
-Shouvik
Think, think and think...before you jump
Torsten.
Acclaimed Contributor

Re: Dual Core CPU - How to verify

if you see 2 CPUs behind a single hardware path, you can be sure it is a dual core:

Cab/ Cell ------- Processor -------- Cache Size
Cell Slot State # Speed State Inst Data
---- ---- ------------ --- -------- ----------- ------ ------
0 0/0 Idle 0A 1000 MHz Idle 64 MB 64 MB
0B 1000 MHz Idle 64 MB 64 MB


(taken from BCH info on processor)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sameer_Nirmal
Honored Contributor

Re: Dual Core CPU - How to verify

Hi Shouvik,

The direct command for getting infomation about dual-core CPU from OS is

# echo "sc product cpu;info;wait;il" | cstm | grep -i "Serial Number"

There would be same serial number for a pair of CPU. The serial number indicates CPU module serial number. Two same serial numbers indicates a dual core CPU.

From MP
MP -> CM -> SS
Ramassh
Advisor

Re: Dual Core CPU - How to verify

Hi Torsten,

Can you please explain what is BCH?
Where/how do you get the above command output?

Thanks,
Ramassh
Torsten.
Acclaimed Contributor

Re: Dual Core CPU - How to verify

BCH is the boot console handler.

If you interrupt the boot process you'll get the BCH prompt. Now you can issue several commands for information, config ...

see attachement

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anil C. Sedha
Trusted Contributor

Re: Dual Core CPU - How to verify

Shouvik,

This command will give you the information you ar elooking for.

/usr/sam/lbin/samx -C /usr/sam/lib/C/mo.ui


Thanks
If you need to learn, now is the best opportunity
Ramassh
Advisor

Re: Dual Core CPU - How to verify

Hi Torsten / Anil,

Thanks for your replies.

I think I will stick to 'cstm' command that Sameer and Robert suggested above, which needs a bit tweaking:

echo "sc product cpu;info;wait;il" | cstm | egrep -i "^serial number"

Because there is another serial number (Cpu Serial Number), which is same for all CPUs(!?). Also the above command return "N/A" on my conventional (single core) systems. Any ideas?

Is it safe to assume that cstm / stm will be installed by default on all HP-UX systems? I see that this command is not available on our 9.x system. I believe 9.x does not support multicores. Is that correct?

Thanks,
Ramassh
Sivakumar TS
Honored Contributor

Re: Dual Core CPU - How to verify


Hi,

Only the CPUs PA8800 and 8900 aand above are the dual core CPUs.

so you can calculate based on that.

Regards,

Siva.

Nothing is Impossible !
Anil C. Sedha
Trusted Contributor

Re: Dual Core CPU - How to verify

yes. that is my understanding that 9.x does not support dual core.
If you need to learn, now is the best opportunity
Ramassh
Advisor

Re: Dual Core CPU - How to verify

Some more questions:

How will the 'un-CLAIMED' processors look in the above cstm command? Is it possible to identify them through cstm? Can someone display a sample output with 'un-CLAIMED' cpus.

Thanks
Ramassh