1748138 Members
3658 Online
108758 Solutions
New Discussion юеВ

Re: CPU cores

 
kunjuttan
Super Advisor

CPU cores

hi all,
how can I check how many cores are there in my CPU.i am having 6 itanium CPUs as per machinfo output.but how to know how many cores??
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: CPU cores

Shalom,

Few ways to do it.

top shows a CPU per core.

ioscan can be used to grep for CPU's

Best way to go is to actually look at the specifications for your particular system on http://docs.hp.com

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
Burak Topal
Frequent Advisor

Re: CPU cores

Hi,
Can you post machinfo and print_manifest outputs?
Torsten.
Acclaimed Contributor

Re: CPU cores

Please post

# model

and

# machinfo

With Itanium it could be a bit difficult sometimes, because there are single cores, dual cores or 2 single cores in a single slot.

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!   
kunjuttan
Super Advisor

Re: CPU cores

# machinfo
CPU info:
Number of CPUs = 6
Clock speed = 1598 MHz
Bus speed = 533 MT/s
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000000000
processor version info = 0x0000000020000704
architecture revision: 0
processor family: 32 Intel(R) Itanium 2 Family Processors
processor model: 0 Intel(R) Itanium 2 processor
processor revision: 7
largest CPUID reg: 4
processor capabilities = 0x0000000000000005
implements long branch: 1
implements 16-byte atomic operations: 1
Bus features
implemented = 0xbdf0000020000000
selected = 0x0020000000000000
Exclusive Bus Cache Line Replacement Enabled

Cache info:
L1 Instruction: size = 16 KB, associativity = 4
L1 Data: size = 16 KB, associativity = 4
L2 Instruction: size = 1024 KB, associativity = 8
L2 Data: size = 256 KB, associativity = 8
L3 Unified: size = 9216 KB, associativity = 9

Memory = 49085 MB (47.934570 GB)

Firmware info:
Firmware revision = 5.024
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC version: 2.4

Platform info:
model string = "ia64 hp server rx7640"
machine id number = 424f6baf-76b9-11db-81d0-cc1b2a024599
machine serial number = SGH4642ER8

OS info:
sysname = HP-UX
nodename = BILPBI
release = B.11.23
version = U (unlimited-user license)
machine = ia64
idnumber = 1112501167
vmunix _release_version:
@(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $


# model
ia64 hp server rx7640
SoorajCleris
Honored Contributor

Re: CPU cores

#ioscan will show cores

#MP commands will show physical CPU.

Regards,
sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Steven E. Protter
Exalted Contributor

Re: CPU cores

Shalom,

Again,

You want cores, go with ioscan.

You can safely use ioscan -fnk to get a core counts.

You can use awk and/or grep to get a count by then piping to wc -l

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
Dennis Handly
Acclaimed Contributor

Re: CPU cores

>Number of CPUs = 6
>family: 32 Intel(R) Itanium 2
>model: 0

You have Montecito processors. Which are dual core. So you have 6 cores, 3 sockets.
kunjuttan
Super Advisor

Re: CPU cores

so what u meant to say is i am having 3 daul core itanium processors????can you confirm???
Dennis Handly
Acclaimed Contributor

Re: CPU cores

>I am having 3 dual core Itanium processors?

Yes.