CPU usage in Proxmox

mitaligarasiya

New Member
Apr 14, 2023
1
0
1
I'm getting CPU data of vm using Resource api link- https://ipport/api2/json/cluster/resources but it is coming in decimal and it not matching with one in proxmox.
For example cpu usage is 0.0554961042304042 through resource API link while in proxmox cpu usage is 8.55% at 8.57 pm can you please help me how to calculate cpu usage in percentage ?or which formula to use to match % of CPU in proxmox?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!