Get the App
SLTechnology News&Howtos  ›  Servers  › 

Kvm virsh common commands

Shulou Source: shulou.com Published: 2022-06-03 09:15:42 12月06日 Update

Kvm common commands

Virsh list # lists running virtual machines

Virsh list-- all # lists all virtual machines

Virsh start centos # start the centos virtual machine

Virsh shutdown centos # shut down the centos virtual machine

Virsh destroy centos # forcibly shut down the centos virtual machine

Virsh autostart centos # set centos to start automatically

Virsh undefine centos # Delete centos virtual machine

Virsh suspend centos # pause the centos virtual machine

Virsh resume centos # restore centos virtual machine

Tags: Commands commonly used mandatory run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Tech Info Xiaomi Microsoft Shulou Information