[GH-ISSUE #668] performance cpu #508

Open
opened 2026-02-27 16:39:30 +03:00 by kerem · 0 comments
Owner

Originally created by @MinhKMA on GitHub (Jul 28, 2018).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/668

Hello Retspen,

I see graph CPU usage (1) in tab statistics. I am writting a python program to monitor the VMs via libvirt. How to calulate percent Cpu of VM ? I used libvirt api and collect cpu time of VM but i dont know caculate percent cpu used of VM?

Could you help me. please!
Thank you very much

  • ref
    (1) image
Originally created by @MinhKMA on GitHub (Jul 28, 2018). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/668 Hello Retspen, I see graph CPU usage (1) in tab statistics. I am writting a python program to monitor the VMs via libvirt. How to calulate percent Cpu of VM ? I used libvirt api and collect cpu time of VM but i dont know caculate percent cpu used of VM? Could you help me. please! Thank you very much - ref (1) ![image](https://user-images.githubusercontent.com/19710213/43357555-c72a2096-92ad-11e8-8658-5fca483102e4.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#508
No description provided.