在Linux下,你可以使用lscpu
命令来获取CPU的详细信息,包括CPU型号。请按照以下步骤操作:
打开终端(Terminal)。
输入以下命令并按回车键:
lscpu
例如,输出可能类似于以下内容:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Stepping: 9
CPU MHz: 2796.000
BogoMIPS: 5592.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
在这个例子中,CPU型号为"Intel® Core™ i7-7700HQ CPU @ 2.80GHz"。