查看cpu详细信息:lscpu
root@node1:~# lscpu
Architecture: x86_64 ##cpu架构
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 56 ##cpu核心数
On-line CPU(s) list: 0-55
Thread(s) per core: 2 ##每个核心支持的线程数
Core(s) per socket: 14 ##每个cpu插槽有多少个核
Socket(s): 2 ##cpu插槽
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 79
Model name: Intel® Xeon® CPU E5-2680 v4 @ 2.40GHz
Stepping: 1
CPU MHz: 1210.045
CPU max MHz: 3300.0000
CPU min MHz: 1200.0000
BogoMIPS: 4788.71
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 35840K
NUMA node0 CPU(s): 0-13,28-41
NUMA node1 CPU(s): 14-27,42-55
查看服务器内存:grep MemTotal /proc/meminfo
MemTotal: 264025916 kB ##264G