14.13.4. Displaying Information about the Virtual CPU Counts of a Domain

download PDF
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:
  • --maximum displays the maximum number of vCPUs available
  • --active displays the number of currently active vCPUs
  • --live displays the value from the running domain
  • --config displays the value to be configured on guest virtual machine's next boot
  • --current displays the value according to current domain state
  • --guest displays the count that is returned is from the perspective of the guest
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.