How to check the number of CPUs and cores available in the host machine using virsh
?
How to check the number of CPUs and cores from host with virsh
virshvirtualhostvirtualization
virshvirtualhostvirtualization
How to check the number of CPUs and cores available in the host machine using virsh
?
Best Answer
Use
virsh nodeinfo
. The output will be something like:Source: https://www.centos.org/docs/5/html/5.2/Virtualization/chap-Virtualization-Managing_guests_with_virsh.html
Alternatively, you can run the
lscpu
command.