Viewing CPU Information
On the host server, use the lscpu
command to display
CPU information. The output displays such information as the total
number of CPUs, the number of cores per socket, and the number of
CPU sockets. For example:
root@vmx-host:~# lscpu
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 40 On-line CPU(s) list: 0-39 Thread(s) per core: 1 Core(s) per socket: 10 Socket(s): 4 NUMA node(s): 4 Vendor ID: GenuineIntel CPU family: 6 Model: 62 Stepping: 7 CPU MHz: 3191.766 BogoMIPS: 6385.87 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 38400K NUMA node0 CPU(s): 0,4,8,12,16,20,24,28,32,36 NUMA node1 CPU(s): 1,5,9,13,17,21,25,29,33,37 NUMA node2 CPU(s): 2,6,10,14,18,22,26,30,34,38 NUMA node3 CPU(s): 3,7,11,15,19,23,27,31,35,39