如何在Linux上查看处理器型号/速度

时间:2020-01-09 10:39:41  来源:igfitidea点击:

如果我们依靠其他人来托管Linux服务器的托管,则我们可能并不总是知道确切的服务器类型。但是,有一种快速简便的方法可以解决此问题。

只需在提示符下键入以下命令:

cat /proc/cpuinfo

然后,我们将看到系统中所有处理器的大列表,以及有关它们的所有信息,看起来应该像这样:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz
stepping        : 5
cpu MHz         : 2267.545
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
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 pbe 
nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips        : 4538.12

在此示例中,我们将看到我们正在以2.27GHz的频率运行Intel Xeon L5520,并且如果我们显示了完整的示例,我们会看到该计算机上实际上有4个内核。