跳转至

stat

CPU

1
2
3
4
5
6
# 查看 CPU 核心数,Socket 物理内核、Core 单核核心数,Thread 单核心线程数
# lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('
CPU(s):              128
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           4

参考

作者: aisuhua