Show Table of Contents
14.13.4. Displaying Information about the Virtual CPU Counts of a Domain
virsh vcpucount requires a domain name or a domain ID. For example:
# virsh vcpucount rhel6 maximum config 2 maximum live 2 current config 2 current live 2
The
vcpucount can take the following options:
--maximumdisplays the maximum number of vCPUs available--activedisplays the number of currently active vCPUs--livedisplays the value from the running domain--configdisplays the value to be configured on guest virtual machine's next boot--currentdisplays the value according to current domain state--guestdisplays the count that is returned is from the perspective of the guest

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.