No of cores in Xeon
How can I know that how many cores are in processor?
I executed the following command Code:
cat /proc/cpuinfo Code:
processor : 0 |
Did you look at the "cpu cores" line of cpuinfo? That directly shows the core count.
|
Try using; dmidecode
If your lucky then is is available as part of the Linux installation, if not then visit; http://freshmeat.net/projects/dmidecode/ |
Quote:
|
Quote:
|
Odd, my CPU has:
core id : 1 cpu cores : 2 You should see a phyiscal id line in there... if so, count the number of cpus listed with the same phyiscal id, and that is the number of cores. |
Quote:
|
Could also use lshw -C processor
Code:
it-etch:~# lshw -C processor and two logical processors (cores) identified as logicalcpu:0 & logicalcpu:1 so if you had two CPU's with two cores it would be fairly easy to see with this output. dmidecode does not appear to provide all the same info.. kinda odd since lshw uses dmidecode as one source to gather info. Code:
it-etch:~# dmidecode -t processor |
All times are GMT -5. The time now is 07:22 PM. |