Virsh: Difference between revisions

From Leo's Notes
This page was last edited on 30 December 2021, at 01:12.
mNo edit summary
m Added categories and navbox
 
Line 28: Line 28:
|Shows a VM's cpu state
|Shows a VM's cpu state
|}
|}
{{Navbox Linux}}
[[Category:Linux]]
[[Category:LinuxUtilities]]

Latest revision as of 01:12, 30 December 2021

Cheat sheet

Command description
virsh nodeinfo shows node info
virsh list [--all] shows all VMs
virsh start|shutdown|reboot vm Starts/shutdowns/reboots a VM
virsh destroy vm Destroys a VM
virsh suspend|resume vm suspends or resumes a VM
virsh console vm [--force] connect a console to a VM
virsh dominfo vm Shows a VM's information
virsh vcpuinfo vm Shows a VM's cpu state