Libvirt

Gk Gk ygk.kmr at gmail.com
Mon Dec 26 17:08:37 UTC 2022


Thanks Marco for the response. Is it possible to collect these vm stats
from the host KVM hypervisor ? Also can u give the link for this book ?

Thanks
Happy holidays

On Monday, December 26, 2022, Marko Horn <weber at zbfmail.de> wrote:
> Hi,
>
> I think best way is to use BPF to collect stats. I did this in past in
combination with 'perf'.
> Theres a nice book of Brandon Greg from Netflix Networks where he
describe how to do this and how to write own scripts.
>
> merry Xmas
>
> marko
>
> ________________________________
>
> 26.12.2022 11:34:20 Gk Gk <ygk.kmr at gmail.com>:
>
> Hi All,
> I am trying to collect memory, disk and network stats for a VM on kvm
host. It seems that the statistics are not matching what the OS inside the
VM is reporting. Why is this discrepancy ?
> Is this a known bug of libvirt ? Also I heard that libvirt shows
cumulative figures for these measures ever since the VM was created.  Also
I tested by creating a new vm and comparing the stats without a reboot .
Even in this case, the stats dont agree.  Can someone help me here please ?
>
> Thanks
> Kumar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20221226/d09c3407/attachment.htm>


More information about the libvirt-users mailing list