0

I am trying to figure out that how Virt-manager (libvirt) finds the CPU performance. Actually i am trying a script to check the CPU and Memory usage status of the GUEST so that i can reach to a LOAD Balancing decision.

PS Please ignore the LOAD balancing part because it is not that much relevant

anuj pradhan
  • 2,777
  • 4
  • 26
  • 31

1 Answers1

0

I take it you probably meant statistics instead of performance.

The C API functions to are virDomainGetCPUStats and virDomainMemoryStats. Their python counterparts are domain.getCPUStats() and domain.memoryStats().

nert
  • 942
  • 6
  • 17