Difference between revisions of "Virsh dominfo"
Jump to navigation
Jump to search
↑ http://manpages.ubuntu.com/manpages/xenial/man1/virsh.1.html#domain%20commands
↑ <https://libvir-list.redhat.narkive.com/v9HwaBFq/libvirt-patch-virsh-ensure-persistence-and-autostart-are-shown-for-dominfo-and-pool-info
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
(One intermediate revision by the same user not shown) | |||
Line 49: | Line 49: | ||
== Activities == | == Activities == | ||
− | # Review and understand <code>virsh dominfo</code> output, additionally you can create a documentation for the command. | + | # Review and understand <code>[[virsh dominfo]]</code> output, additionally you can create a documentation for the command. |
− | # Use <code>virsh dommemstat</code> to view [[memory]] assigned to your VM or <code>[[virsh dominfo]] VM_MACHINE | grep memory</code> | + | # Use <code>[[virsh dommemstat]]</code> to view [[memory]] assigned to your VM or <code>[[virsh dominfo]] VM_MACHINE | grep memory</code> |
== See also == | == See also == |
Latest revision as of 07:07, 11 April 2021
virsh dominfo
man page just says[1] "Returns basic information about the domain."
virsh dominfo
Example Output:
Search dominfo in code: https://github.com/libvirt/libvirt/search?p=1&q=dominfo&unscoped_q=dominfo
- 2010 Dominfo "Autostart" (see
virsh autostart
) and "Persistent" are show in dominfo and virsh pool-info[2]
# virsh dominfo MY_VM_MACHINE2 Id: 320 Name: MY_VM_MACHINE2 UUID: 651f9202-f5e1-4e19-9162-cb238f166855 OS Type: hvm State: running CPU(s): 2 CPU time: 15797.5s Max memory: 4194304 KiB Used memory: 4194304 KiB Persistent: yes Autostart: enable Managed save: no Security model: apparmor Security DOI: 0 Security label: libvirt-601f9201-f4e1-4d19-9061-cb238f1668ac (enforcing)
# virsh dominfo MY_VM_MACHINE id: 13 name: MY_VM_MACHINE uuid: 6a4c59a7-ee3t-c781-96e4-288f2862f033 os type: linux state: blocked cpu(s): 1 cpu time: 11.0s max memory: 1024000 kb used memory: 1024000 kb
Related commands[edit]
Activities[edit]
- Review and understand
virsh dominfo
output, additionally you can create a documentation for the command. - Use
virsh dommemstat
to view memory assigned to your VM orvirsh dominfo VM_MACHINE | grep memory
See also[edit]
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- virsh Info:
virsh list
,virsh version
,virsh dominfo
,virsh pool-info
,virsh domstats
,virsh vol-info
,virsh net-info
,virsh dumpxml
Advertising: