Displaying 1 result from an estimated 1 matches for "vdgiret".
Did you mean:
diret
2015 Oct 28
0
How to find memory utilization percent of kvm guest?
I currently use following approach but its failing
Find Max memory using following API
vdgiRet = virDomainGetInfo(domPtr, infoPtr);
memTotal = infoPtr->memory;
Find current utilization using following API
rVal = virDomainMemoryStats (domPtr, memStats, VIR_DOMAIN_MEMORY_STAT_NR, 0) ;
for (i = 0; i < rVal; i++)
{
if (memStats[i].tag...