Ce contenu n'est pas disponible dans la langue sélectionnée.
14.5.20. Domain Retrieval Commands
The following commands will display different information about a given domain
virsh domhostname domain
displays the host name of the specified domain provided the hypervisor can publish it.virsh dominfo domain
displays basic information about a specified domain.virsh domuid domain|ID
converts a given domain name or ID into a UUID.virsh domid domain|ID
converts a given domain name or UUID into an ID.virsh domjobabort domain
aborts the currently running job on the specified domain.virsh domjobinfo domain
displays information about jobs running on the specified domain, including migration statisticsvirsh domname domain ID|UUID
converts a given domain ID or UUID into a domain name.virsh domstate domain
displays the state of the given domain. Using the--reason
option will also display the reason for the displayed state.virsh domcontrol domain
displays the state of an interface to VMM that were used to control a domain. For states that are not OK or Error, it will also print the number of seconds that have elapsed since the control interface entered the displayed state.
Example 14.2. Example of statistical feedback
In order to get information about the domain, run the following command: