Operating System - Linux
1827845 Members
1131 Online
109969 Solutions
New Discussion

how to check whether processor is duel-core

 
pnvs
Occasional Advisor

how to check whether processor is duel-core

Hi,
Can anyone please tell me how can I check the number of cores for a processor in HP-UX 11i server.
7 REPLIES 7
AwadheshPandey
Honored Contributor

Re: how to check whether processor is duel-core

use
cstm>
map
selall
info
infolog
see the number of cpus and use
#top
to check number of cores
It's kind of fun to do the impossible
pnvs
Occasional Advisor

Re: how to check whether processor is duel-core

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.01 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%
1 0.06 0.0% 0.0% 0.2% 99.8% 0.0% 0.0% 0.0% 0.0%
2 0.00 1.0% 0.0% 0.4% 98.6% 0.0% 0.0% 0.0% 0.0%
3 1.00 99.6% 0.0% 0.4% 0.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.27 25.2% 0.0% 0.4% 74.4% 0.0% 0.0% 0.0% 0.0%
========================================
above is the top output. But how can I see number of cores here. number of cores for a processor means whethre the processor is single core or dual core. If I am rite can you please tell me how to check whether it is Single or dual core processor
Oviwan
Honored Contributor

Re: how to check whether processor is duel-core

if you have itanium do a "machinfo"
or
ioscan -Cprocessor

pnvs
Occasional Advisor

Re: how to check whether processor is duel-core

Its a PA-RISC system only.

# ioscan -Cprocessor
H/W Path Class Description
===============================
160 processor Processor
162 processor Processor
164 processor Processor
166 processor Processor
#

how can I get whether it is single or dual core with above output
Matti_Kurkela
Honored Contributor

Re: how to check whether processor is duel-core

Your "top" listing indicates your system has four CPU cores.

Your "ioscan" listing indicates your system has four physical processors.

4 / 4 = 1, so your processors are all single-core processors.

With dual-core processors, you would get two CPU lines (one for each core) in "top" per each physical processor.

Another way would be to find out the PA-RISC CPU type: if it is not PA-8800 nor PA-8900, it cannot be dual-core.

MK
MK
pnvs
Occasional Advisor

Re: how to check whether processor is duel-core

OK..I got it..Thanks a lot to all

Many Thanks&Regards.
PNVS
pnvs
Occasional Advisor

Re: how to check whether processor is duel-core

Thanks to all