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?
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?