Este conteúdo não está disponível no idioma selecionado.

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 statistics
  • virsh 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:
# virsh domjobinfo rhel6
Job type:         Unbounded
Time elapsed:     1603         ms
Data processed:   47.004 MiB
Data remaining:   658.633 MiB
Data total:       1.125 GiB
Memory processed: 47.004 MiB
Memory remaining: 658.633 MiB
Memory total:     1.125 GiB
Constant pages:   114382
Normal pages:     12005
Normal data:      46.895 MiB
Expected downtime: 0            ms
Compression cache: 64.000 MiB
Compressed data:  0.000 B
Compressed pages: 0
Compression cache misses: 12005
Compression overflows: 0
Copy to Clipboard Toggle word wrap
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat