get CPU Id number in linux
Is there any mean in linux to get the CPU ID?
I mean, for example there are several Intel pentium 4 models, all identified by a unique number e.g. 620, 630, 631, 640, 641, 650, 651, 660. If one tries cpuz in windows he will get this info straight forward whereas /proc/cpuinfo in linux does not contain it. Before posting this question I searched in previous posts on linuwquestions.org and I have surprisingly found very few posts related and all left unanswered. |
Did ya try
Quote:
|
Hm not sure if thats the number you were looking for but here
Code:
processor : 3 Code:
Processor Information |
Quote:
But have you tried it yourself on your computer before? |
Quote:
is it an extract of your /proc/cpuinfo? have you patched something? |
Quote:
Code:
/usr/sbin/dmidecode -t 4 | grep Version |
Code:
# dmidecode -t 4 | grep -i "version" |
dmidecode -t 4 | grep -i version (without the quotes). Not that it seems to make any difference here.
Lshw will show you the model number, and you can also get the model number from the BIOS with most boards. Quote:
Early P4s (400MHz FSB, 256k cache) used X.XGHz (eg Pentium 4 1.6GHz). Later P4s (400/533 FSB, 512kcache) used X.XGHz, with addional letters for models that had already been used (eg, Pentium 4 1.6A). XXX model number P4s didnt appear until later, when hyperthreading, 800MHz FSB and 1MB/2MB cache models were released (and even some of them had the original X.X model number, eg Pentium 4 HT 3.0). |
Quote:
Code:
# dmidecode -t 4 | grep -i version |
You've probably got an early model P4. That would explain the 'Intel Pentium 4' version.
I'd check lshw and see what it tells you about your CPU. |
Quote:
here is the output of lshw concerning cpu info. -cpu description: CPU product: Intel(R) Pentium(R) 4 CPU 3.20GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: 15.2.9 slot: PGA 478 size: 3200MHz capacity: 3733MHz width: 32 bits clock: 200MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts a cpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr configuration: id=0 |
Probably you have a Pentium 4 HT 3.2 (800MHz FSB, 512k cache) or Pentium 4 HT 3.2E (800MHz FSB, 1024k cache)
http://ark.intel.com/products/27501/...he-800-MHz-FSB http://ark.intel.com/products/27502/...he-800-MHz-FSB If you run lshw from su/sudo, you get more information, like the cache. "Capacity: 3733MHz" seems wrong, AFAIK there isnt a single P4 with a max clock speed of 3.733GHz. Still, lshw tends to produce odd results like that sometimes. BTW, there is also 'lshw-gtk' which runs in a window. |
Quote:
Code:
# lshw | grep cache |
All times are GMT -5. The time now is 01:38 AM. |