如何find我的CPU型号在Linux上的英特尔处理器号 ?
我从一个虚拟主机公司购买了一台服务器,我不知道它有哪个CPU型号。 我只知道它是一个奔腾D,双核心。 但型号可以是以下之一:805/820/830/840/915/925/935/945/920/930/940/950/960/955/965
但是/ proc / cpuinfo将模型显示为“6”,那么如何找出真正的cpu模型呢? 因为市场上没有Pentium D型号6。
z3 ~ # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 6 model name : Intel(R) Pentium(R) D CPU 3.00GHz stepping : 4 microcode : 0x4 cpu MHz : 2997.084 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 6 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 pebs bts nopl pni dtes64 monitor ds_cpl est cid cx16 xtpr pdcm lahf_lm bogomips : 5994.16 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management:
Model或cpu_model是一个依赖于供应商的整数,并指示它们的cpu_family的版本。 6型指的是9xx系列。 所以,如果我们看你的时钟速度应该是925或930。
在大多数情况下,你使用的方法应该显示模型名称,我的说:
Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz用于笔记本电脑。
即使是我的EC2实例也报告了一个型号: model name : Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
其他方法检查:
cat /var/log/dmesg | grep -i 'processor'
我得到这样一行:
[ 0.067571] CPU0: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz stepping 0a
您也可以检查dmidecode -t 4或lshw -class cpu'
你不能100%确定你的CPU(除非你有物理访问),但根据维基百科你的CPU是以下一个:
PIn Intel's "Family/Model/Stepping" scheme, Cedar Mill Celeron Ds and Pentium 4s are family 15, model 6, and their Intel product code is 80552.