debian

Debian CPUInfo 获取方法

小樊
49
2025-04-07 05:28:18
栏目: 智能运维

在 Debian 系统中,可以使用 cat /proc/cpuinfo 命令来获取 CPU 的详细信息。这个命令会显示 CPU 的型号、频率、核心数、缓存大小、处理器供应商等信息。

示例输出

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 142
model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
stepping : 6
microcode : 0x1
cpu MHz : 1600.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
cpuid level : 22
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts cpuid
bogomips : 3200.00

提取特定信息

0
看了该问题的人还看了