Sponsored Content
Operating Systems Linux Red Hat finding no of core in processor Post 302267498 by otheus on Friday 12th of December 2008 01:30:36 PM
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

 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
GCORE(1)						      General Commands Manual							  GCORE(1)

NAME
gcore - get core image of running process SYNOPSIS
gcore [-s][-c core] pid DESCRIPTION
gcore creates a core image of each specified process, suitable for use with adb(1). By default the core image is written to the file <pid>.core. The options are: -c Write the core file to the specified file instead of <pid>.core. -s Stop the process while creating the core image and resume it when done. This makes sure that the core dump will be in a consistent state. The process is resumed even if it was already stopped. Of course, you can obtain the same result by manually stopping the process with kill(1). The core image name was changed from core.<pid> to <pid>.core to prevent matching names like core.h and core.c when using programs such as find(1). FILES
<process-id>.core The core image. BUGS
If gcore encounters an error while creating the core image and the -s option was used the process will remain stopped. Swapped out processes and system processes (the swapper) may not be gcore'd. 4.2 Berkeley Distribution April 15, 1994 GCORE(1)
All times are GMT -4. The time now is 09:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy