Re: Memory statistics for DomU's

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

 



Am 14.03.2012 20:26, schrieb Eric Blake:
On 03/14/2012 01:21 PM, inge85@xxxxxx wrote:
> Hello,
> 
> I have a question about memory statistics in libvirt for domU. I want to get 
> read and written bytes of RAM of a domain in the same way as blockstats for read 
> and written bytes on disk. I already read the API, but I didn't get it. I want 
> to graph the RAM utilization of certain virtual machines. Can anybody help me?
virt-manager can graph RAM utilization of guests, so it may be worth
seeing what APIs it used.  The virDomainMemoryStats() is probably the
key API to be using, although I'm not sure whether it is wired up in the
xen implementation.

-- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Good idea with the virt-manager. I will take a look.

virDomainMemoryStats() I already focused, but there's not directly the data I need (read and written bytes of RAM).

I don't understand, why it's so hard to track those data. I read something about "xentrace", a tool to read out some CPU counters, which can be used to approximate RAM accesse by using LLC-miss counter. Is there no easy way to get the data?

Greetings,
inge85

  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/

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

  Powered by Linux