查看cpu
[root@localhost ~]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 165
Model name: Intel(R) Core(TM) i3-10105T CPU @ 3.00GHz
Stepping: 3
CPU MHz: 2999.997
BogoMIPS: 5999.99
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 arat spec_ctrl intel_stibp flush_l1d arch_capabilities
解释
- 架构(Architecture):显示处理器的架构,如 x86_64、i686(32位)、ARM 等。
- CPU 运行模式(CPU op-mode(s)):显示 CPU 支持的操作模式,例如 32位、64位。
- 字节序(Byte Order):显示系统的字节序,通常是 Little Endian 或 Big Endian。
- CPU 个数(CPUs):显示物理 CPU 的总数。
- 每个 CPU 的核心数(On-line CPU(s) list):显示每个物理 CPU 上的核心数量。
- 线程数(Thread(s) per core):显示每个核心的线程数。多线程技术(如 Intel 的 Hyper-Threading)允许每个核心同时执行多个线程。
- 每个套接字的核心数(Core(s) per socket):显示每个 CPU 套接字上的核心数。
- 套接字数(Socket(s)):显示物理 CPU 套接字的数量。
- NUMA 节点数(NUMA node(s)):显示 NUMA(非一致性内存访问)节点的数量。这与 CPU 如何访问内存有关。
- 供应商 ID(Vendor ID):显示 CPU 制造商。
- CPU 系列(CPU family):显示 CPU 的系列号。
- 型号(Model):显示 CPU 的型号号。
- CPU MHz(CPU MHz):显示 CPU 的速度(兆赫兹)。
- CPU 最大 MHz(CPU max MHz)和 CPU 最小 MHz(CPU min MHz):显示 CPU 的最大和最小频率。
- 虚拟化(Virtualization):显示 CPU 是否支持虚拟化技术,以及使用的虚拟化类型。