virsh the command line Print

  • #virsh, #centos, #kvm, #sysadmin#system administration#system engineer#compsci#computer
  • 0

virsh the command line 
Command          Description
help print help
list list domains
create create a domain from an XML file
start start a previously created inactive domain
destroy destroy a domain
define define (but do not start) a domain from an XML file
domid convert a domain name or UUID to domain id
domuuid convert a domain name or id to domain UUID
dominfo domain information
domname convert a domain id or UUID to domain name
domstate domain state
quit quit this interactive terminal
reboot reboot a domain
restore restore a domain from a saved state in a file
resume resume a domain
save save a domain state to a file
shutdown gracefully shutdown a domain
suspend suspend a domain
undefine undefine an inactive domain







Basic management options

The following are basic and commonly used virsh commands:

commanddescription
help print help
list list domains
create create a domain from an XML file
start start a previously created inactive domain
destroy destroy a domain
define define (but do not start) a domain from an XML file
domid convert a domain name or UUID to domain id
domuuid convert a domain name or id to domain UUID
dominfo domain information
domname convert a domain id or UUID to domain name
domstate domain state
quit quit this interactive terminal
reboot reboot a domain
restore restore a domain from a saved state in a file
resume resume a domain
save save a domain state to a file
shutdown gracefully shutdown a domain
suspend suspend a domain
undefine undefine an inactive domain

Was this answer helpful?

« Back

Powered by WHMCompleteSolution


["\r\n