lscpu命令的相关命令是:lsblk
lscpu命令用于查看CPU信息。
主要参数
-h, --help 显示帮助信息
-p, --parse 打印出可读的格式,而不是一个可解析格式
-s, --sysroot
-x, --hex 打印十六进制数
实例
# 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: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 58
Stepping: 9
CPU MHz: 1600.000
BogoMIPS: 6786.67
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3