list
Browses defined virtual servers.
Syntax
Selected options
- --all
- Lists all defined virtual servers.
- --autostart
- Lists all defined virtual servers with autostart enabled.
- --inactive
- Lists all defined virtual servers that are not running.
- --managed-save
- Only when --table is specified.
- --name
- Lists only virtual server names.
- --no-autostart
- Lists only virtual servers with disabled autostart option.
- --persistent
- Lists persistent virtual servers.
- --state-other
- Lists virtual servers in
state
shutting down
. - --state-paused
- Lists virtual servers in
state
paused
. - --state-running
- Lists virtual servers in
state
running
. - --state-shutoff
- Lists virtual servers in
state
shut off
. - --table
- Displays the listing as a table.
- --title
- Displays only a short virtual server description.
- --transient
- Lists transient virtual servers.
- --uuid
- Lists only UUIDs.
- --with-managed-save
- Lists virtual servers with managed save state.
- --with-snapshot
- Lists virtual servers with existing snapshot.
- --without-managed-save
- Lists virtual servers without managed save state.
- --without-snapshot
- Lists virtual servers without existing snapshot.
Usage
Browsing virtual serversExample
This example lists all
defined virtual servers.
# virsh list --all