How to List Virtual Machines using Virsh Utility on Ubuntu 18.04

To list all virtual machines (VMs) running on your Ubuntu 18.04 hypervisor, run the command below:

sudo virsh list --all

You should see the below list of all guest machines on your Ubuntu 18.04 servers

 Id    Name                           State
----------------------------------------------------
 1     ubuntu_20_4                    running
 -     server-3                       shut off
 -     win10                          shut off

 

Ads by Google

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.