nodecpustats command displays statistical information about the specified CPU, if the CPU is given. If not, it will display the CPU status of the node. If a percent is specified, it will display the percentage of each type of CPU statistics that were recorded over an one (1) second interval.
This example shows no CPU specified:
This example shows the statistical percentages for CPU number 2:
virsh nodecpustats 2 --percent
You can control the behavior of the rebooting guest virtual machine by modifying the
on_reboot element in the guest virtual machine's configuration file.