Re: guest memory monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 19, 2016 at 04:50:39PM +0800, frankpersist@xxxxxxxxx wrote:
Hi, everyone,
   My hypervisor is kvm, when I use libvirt-java api to get guest vm memory information, I found what libvirt can not get real memory(within the vm)statistic, libvirt can only get information from .xml file(such as vmName.xml <currentMemory> lable) in host.
  My question is, does libvirt support memory monitor(within vm)? if it's true, how to get. if false, what is the difficulty?


I'm not sure what exactly you mean by memory monitor within vm.  You can
communicate with your own program in the VM and gather statistics there.
Or I might've misunderstood your question and you might find
virDomainMemoryStats() API helpful.

HTH,
Martin

Thank you.



frankpersist@xxxxxxxxx

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux