在 Debian(以及其他 Linux 发行版)系统中,cpuinfo 通常指 /proc/cpuinfo 文件,也可以通过命令(如 lscpu、cat /proc/cpuinfo)查看。它包含当前 CPU 的详细信息。
下面以 /proc/cpuinfo 为例,说明 Debian 中常见的字段含义:
在 /proc/cpuinfo 中,每个逻辑处理器(线程)都会有一段信息。
processor : 0
vendor_id : GenuineIntel
GenuineIntel:IntelAuthenticAMD:AMDARM:ARM 架构cpu family : 6
model : 142
stepping : 10
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
physical id : 0
core id : 0
cpu cores : 4
siblings : 8
siblings / cpu cores = 每核线程数flags : fpu vme de pse tsc msr pae mce cx8 apic ...
lm:支持 64 位vmx / svm:虚拟化(Intel / AMD)avx, avx2, sse4_2: SIMD 指令aes:硬件加密cache size:L2/L3 缓存大小bogomips:粗略性能参考值address sizes:支持的物理/虚拟地址位数power management:电源管理支持cat /proc/cpuinfo
lscpu
nproc
cpu cores : 4
siblings : 8
→ 1 个物理 CPU,4 核心,8 线程(超线程开启)
如果你愿意,我可以: