[libvirt] virsh command to list CPU, Memory and Storage of all the running VM's

Hi, Is there a way to find out total CPU's, Memory and Storage of all the running VM's using virsh command? For example virsh list --all list out all VM's 11 dockerregistry01 running 12 gitlab running Any help will be highly appreciated. Thanks in Advance. Best Regards, Kaushal

On Sat, Jul 27, 2019 at 06:40:08AM +0530, Kaushal Shriyan wrote:
Hi,
Is there a way to find out total CPU's, Memory and Storage of all the running VM's using virsh command? For example virsh list --all list out all VM's
11 dockerregistry01 running 12 gitlab running
Since you probably do not want to script it, you might want to utilise something like `virsh domstats`. See man page and --help output for various options. Just a note: It is preferable to use libvirt-users list for similar questions. Have a nice day, Martin
Any help will be highly appreciated. Thanks in Advance.
Best Regards,
Kaushal
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (2)
-
Kaushal Shriyan
-
Martin Kletzander