2020-05-25

Linux命令(15)lscpu命令

Linux命令(15)lscpu命令


lscpu命令

  • 功能说明:显示有关CPU架构的信息
  • 用法: lscpu
[root@node1 ~]# lscpuArchitecture:   x86_64CPU op-mode(s):  32-bit, 64-bitByte Order:   Little EndianCPU(s):    4On-line CPU(s) list: 0-3Thread(s) per core: 1Core(s) per socket: 2Socket(s):    2NUMA node(s):   1Vendor ID:    GenuineIntelCPU family:   6Model:     60Model name:   Intel(R) Core(TM) i5-4590 CPU @ 3.30GHzStepping:    3CPU MHz:    3292.419BogoMIPS:    6584.83Hypervisor vendor:  VMwareVirtualization type: fullL1d cache:    32KL1i cache:    32KL2 cache:    256KL3 cache:    6144KNUMA node0 CPU(s):  0-3Flags:     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。


No comments:

Post a Comment