Linux命令(15)lscpu命令

lscpu命令

  • 功能说明:显示有关CPU架构的信息
  • 用法: lscpu
[root@node1 ~]# 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:    2
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 60
Model name:            Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
Stepping:              3
CPU MHz:               3292.419
BogoMIPS:              6584.83
Hypervisor vendor:     VMware
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              6144K
NUMA node0 CPU(s):     0-3
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 tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid xsaveopt arat

一些信息的说明:

  • Architecture:指CPU的架构
  • CPU(s):指CPU的核数
  • Thread(s) per core:指的每个 Core 的硬件线程数,超线程,数值为1,表示不支持超线程
  • Core(s) per socket:指的是CPU的核心(单个CPU的核心)
  • Socket(s):指的是主板上CPU的插槽,服务器通常会有多个

以上信息显示为2个CPU插槽,2个核心,所以它是一个4(2x2)核的CPU。

你可能感兴趣的:(Linux命令(15)lscpu命令)