virsh list

To list all VM on a KVM server, run

virsh list

Example

root@s3-m12:~# virsh list
 Id    Name                           State
----------------------------------------------------
 6     foo                            running

root@s3-m12:~# 

To view all Virtual machines including stopped VM’s, use –all option.

root@mail:~# virsh list --all
 Id   Name       State
---------------------------
 1    iredmail   running
 -    win10      shut off

root@mail:~# 

See virsh

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *