LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to find the core of the processor in redhat (http://www.linuxquestions.org/questions/linux-server-73/how-to-find-the-core-of-the-processor-in-redhat-4175437425/)

sanjay87 11-16-2012 07:59 AM

How to find the core of the processor in redhat
 
hi
how can i find the core of the processor .I tried

cat /proc/cpuinfo
cat /etc/issue
uname -a
dmidecode
lscpu not working on my machine

Any help how can i get core of procesor

acid_kewpie 11-16-2012 08:31 AM

find it? get it? What do you want to know about it?

tronayne 11-16-2012 08:32 AM

If you cat /proc/cpuinfo you ought to see something like this:
Quote:

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E7600 @ 3.06GHz
stepping : 10
microcode : 0xa07
cpu MHz : 3059.271
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 6118.54
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU E7600 @ 3.06GHz
stepping : 10
microcode : 0xa07
cpu MHz : 3059.271
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 6117.66
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
That is, there are two cores on this machine's processor, Core 0 and Core 1. Those are your cores.

Something else you can use might be lshw, which will show you a heck of lot of information about your hardware; you'll probably have to execute lshw with
Code:

sudo lshw | more
Generally, lshw will not execute for a non-privileged user.

If you don't have lshw, see http://ezix.org/project/wiki/HardwareLiSter or, perhaps, the software repository for your distribution.

Hope this helps some.

johnsfine 11-16-2012 09:19 AM

I'm just guessing, but maybe the OP wants to know what kind of core the CPU has.

In tronayne's example, I would find the code number of the CPU in the cpuinfo. It is E7600. Then I would google Intel E7600 and find various pages that seem to be saying it has a "Wolfdale" core (I'm not an expert on this stuff, so I don't know how much information is implied by the name "Wolfdale").

The OP similarly can get the CPU code number from cpuinfo and then get more info by google of the code number along with the manufacturer name (Intel or AMD).

sanjay87 11-16-2012 10:14 AM

Thanks all .
I could not find core of processor in /proc/cpuinfo command as well as dmidecode

I got the info in these command

#dmesg
#top -I Got details core 0 core1


All times are GMT -5. The time now is 07:43 AM.