Difference between revisions of "Virsh list"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
* {{virsh}} | * {{virsh}} | ||
* <code>[[virsh vol-list]]</code> | * <code>[[virsh vol-list]]</code> | ||
+ | * {{virsh information}} | ||
* [[Virsh/Changing VM running status operations]]: <code>[[virsh/virsh start|start]]</code>, <code>[[virsh/virsh shutdown|shutdown]]</code>, <code>[[virsh/virsh destroy|destroy]]</code>, <code>[[virsh/virsh reboot|reboot]]</code>, <code>[[virsh/virsh reset|reset]]</code>, <code>[[virsh resume|resume]]</code> | * [[Virsh/Changing VM running status operations]]: <code>[[virsh/virsh start|start]]</code>, <code>[[virsh/virsh shutdown|shutdown]]</code>, <code>[[virsh/virsh destroy|destroy]]</code>, <code>[[virsh/virsh reboot|reboot]]</code>, <code>[[virsh/virsh reset|reset]]</code>, <code>[[virsh resume|resume]]</code> | ||
Revision as of 11:47, 2 January 2020
virsh list Id Name State ---------------------------------------------------- 1 HostedEngineLocal running 2 VM_NAME_2 in shutdown
virsh list --all Id Name State ---------------------------------------------------- 4 VM_NAME_1 running 5 VM_NAME_2 in shutdown - VM_NAME_3 shut off
virsh list --name HostedEngineLocal VM_NAME_2
virsh list error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied
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
See also
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
virsh vol-list
- virsh Info:
virsh list
,virsh version
,virsh dominfo
,virsh pool-info
,virsh domstats
,virsh vol-info
,virsh net-info
,virsh dumpxml
- Virsh/Changing VM running status operations:
start
,shutdown
,destroy
,reboot
,reset
,resume
Advertising: