LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2010, 01:49 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
How to find what core CPU is present?


How to find the core CPUs through Linux?
 
Old 03-26-2010, 01:53 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Code:
sasha@reactor: cat /proc/cpuinfo

The above file in proc should contain the info you want?

Sasha
 
Old 03-26-2010, 03:18 AM   #3
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
sorry for the incomplete question:
I am running ESX 4 on Intel x64 hardware. So I can see that /proc/vmware/cpuinfo reflects the 8 cores while entry under /proc/cpuinfo shows the following:
Code:
[root@vmqa038-km-hp360 ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
stepping        : 5
cpu MHz         : 2266.841
cache size      : 8192 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
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 syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4533.68
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

[root@vmqa038-km-hp360 ~]#
Code:
cat /proc/vmware/cpuinfo
cat /proc/vmware/cpuinfo
    pcpu            00            01            02            03            04            05            06            07            08            09            10            11            12            13            14            15

  family            06            06            06            06            06            06            06            06            06            06            06            06            06            06            06            06
   model            10            10            10            10            10            10            10            10            10            10            10            10            10            10            10            10
    type            00            00            00            00            00            00            00            00            00            00            00            00            00            00            00            00
stepping            05            05            05            05            05            05            05            05            05            05            05            05            05            05            05            05
  tscKhz       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746
processorKhz       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746       2266746
  busKhz        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338        133338
    name  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel  GenuineIntel
     ebx    0x00100800    0x01100800    0x02100800    0x03100800    0x04100800    0x05100800    0x06100800    0x07100800    0x10100800    0x11100800    0x12100800    0x13100800    0x14100800    0x15100800    0x16100800    0x17100800
 ecxFeat    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd    0x009ce3bd
 edxFeat    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff    0xbfebfbff
initApic    0x00000000    0x00000001    0x00000002    0x00000003    0x00000004    0x00000005    0x00000006    0x00000007    0x00000010    0x00000011    0x00000012    0x00000013    0x00000014    0x00000015    0x00000016    0x00000017
  apicID    0x00000000    0x00000001    0x00000002    0x00000003    0x00000004    0x00000005    0x00000006    0x00000007    0x00000010    0x00000011    0x00000012    0x00000013    0x00000014    0x00000015    0x00000016    0x00000017

Last edited by linuxunix; 03-26-2010 at 03:19 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
This kernel requires the following features not present on the CPU: fpu TBennettcc Linux - Newbie 3 03-19-2010 01:37 PM
how to find on which cpu core linux kernel tasks are running zzfcpit0120 Linux - Kernel 1 10-16-2009 05:05 AM
True Image boot problem: cmov feature not present on CPU deadkenny Linux - Kernel 3 09-05-2009 08:31 AM
cpu frequency scaling with Pentium(R) Dual-Core CPU E5200 @ 2.50GHz tramni1980 Slackware 5 08-16-2009 08:29 AM
Recommended High-Performance Workstation CPU (AMD - Intel) Present-2006 kuphryn Linux - Hardware 19 08-31-2006 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration