Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

14.7.4. Displaying a CPU List

The nodecpumap command displays the number of CPUs that are available to the node, whether they are online or not and it also lists the number that are currently online.
$ virsh nodecpumap
   CPUs present: 4
   CPUs online: 1
   CPU map: y