Editing Virsh list
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
virsh list | virsh list | ||
Line 21: | Line 7: | ||
</pre> | </pre> | ||
− | + | <pre> | |
− | + | virsh list --all | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Id Name State | Id Name State | ||
− | + | ---------------------------------------------------- | |
− | + | 4 VM_NAME_1 running | |
− | + | 5 VM_NAME_2 in shutdown | |
− | + | - VM_NAME_3 shut off | |
− | + | </pre> | |
− | - | ||
− | |||
<pre> | <pre> | ||
Line 46: | Line 22: | ||
</pre> | </pre> | ||
− | < | + | <pre> |
− | + | virsh list | |
− | + | error: failed to connect to the hypervisor | |
− | + | error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied | |
− | + | </pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
See man page https://linux.die.net/man/1/virsh for complete list of VMs States. | See man page https://linux.die.net/man/1/virsh for complete list of VMs States. | ||
:'''shutdown''' The domain is in the process of shutting down, i.e. the guest operating system has been notified and should be in the process of stopping its operations gracefully | :'''shutdown''' The domain is in the process of shutting down, i.e. the guest operating system has been notified and should be in the process of stopping its operations gracefully | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{virsh}} | * {{virsh}} | ||
* {{virsh information}} | * {{virsh information}} | ||
− | + | ||
Advertising: