Specifications

You can use virsh to convert a domain name to a UUID:
virsh domuuid [domain-id | domain-uuid]
14. Displaying Virtual Machine Information
You can use virsh to display information for a given virtual machine identified by its domain ID,
domain name, or UUID:
virsh dominfo [domain-id | domain-name | domain-uuid]
15. Displaying Node Information
You can use virsh to display node information:
virsh nodeinfo
The outputs displays something similar to:
CPU model x86_64
CPU (s) 8
CPU frequency 2895 Mhz
CPU socket(s) 2
Core(s) per socket 2
Threads per core: 2
Numa cell(s) 1
Memory size: 1046528 kb
This displays the node information and the machines that support the virtualization process.
16. Displaying the Virtual Machines
You can use virsh to display the virtual machine list and the current state:
virsh list domain-name [ ——inactive | —— -all]
The ——inactive option lists inactive domains (domains that have been defined but are not
currently active). The — -all domain lists all domains, whether active or not. Your output
should resemble the this example:
Chapter 15. Managing Virtual Machines with virsh
32