finding no of core in processor


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat finding no of core in processor
# 1  
Old 12-12-2008
Question finding no of core in processor

Hi,

what is command to find out no of core per procssor?

Regards,

Manoj
# 2  
Old 12-12-2008
cat /proc/cpuinfo works on RHEL.
# 3  
Old 12-12-2008
No command per se. As Jimbalaya said, you can inspect /proc/cpuinfo to see if it reports the number of cores. In fact, the format is separated into sections -- each describing a CPU (a core counts as a CPU; there may be many CPUs per "chip"). So you want to count the sections to find how many cores there are.

Therefore the command that will work best is:
Code:
grep -ic ^processor /proc/cpuinfo

# 4  
Old 12-15-2008
"mpstat" will list CPU id and stats counter
# 5  
Old 12-15-2008
The entire /proc/cpuinfo output can be used to determine things like core/processor. Each "chunk" of output represents a processor core. In modern kernels, the output will contain a line such as "Processor Core" or something and you will get a number like 0, 1, 2, 3. You can use that to determine how many processors per core.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. HP-UX

how can i know this processor quad or dual core ?

hi every body i want to know if i have server with hp-ux os if i did "machinfo" i will see no of cpu = for example 16 how can i know this is dual or quad core . thanks (2 Replies)
Discussion started by: maxim42
2 Replies

2. Linux Benchmarks

AMD Phenom(tm) 9950 Quad-Core Processor, Ram: 3.6 GB, Foxconn 7da-s and Linux 2.6.26-2-amd64

CPU/Speed: AMD Phenom(tm) 9950 Quad-Core Processor Ram: 3.6 GB Motherboard: Foxconn 7da-s Bus: Cache: Controller: Disk: Load: Kernel: Linux 2.6.26-2-amd64 Kernel ELF?: pgms: ============================================================== BYTE UNIX Benchmarks (Version... (0 Replies)
Discussion started by: migracho
0 Replies

3. Linux

finding core information in redhat Linux

Hi, I want to know how to find out no of cores in linux. I have given the command more /proc/cpuinfo NOw I want to know what is diffrence between cpu cores and core id? How to find out exact no of cores? Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

5. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies

6. Linux

linux for dual core processor

hi all I bought a new MSI motherboard and intel dual core processor . i have currently installed fedora core 3 for which audio is not detected . can u tell me which version of fedora core will support as i have tried with fedora core 6 which gets installed but gives a error while... (0 Replies)
Discussion started by: nageshrk
0 Replies

7. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

8. UNIX for Dummies Questions & Answers

finding out processor speeds for a sparc

i recently purchased a dual ross sparc processor kit from someone. the person listed these items as 133mhz processors, however, looking at bridgepoint's site, they do not make 133mhz processors. so i was wondering, how can i check the processor speeds? (4 Replies)
Discussion started by: xyyz
4 Replies
Login or Register to Ask a Question