nanos
nanos copied to clipboard
How to retrieve On-prem resource utilization
Hello, I am currently trying to retrieve the resource utilization of on-premise QEMU instances, specifically focusing on CPU and memory usage.
- The results obtained using standard commands like
ps
are often inaccurate. - I attempted to use QMP to get memory usage by executing the command
{"execute": "query-balloon"}
, but I encountered an error:{'error': {'class': 'DeviceNotActive', 'desc': 'No balloon device has been activated'}}
. - So far, I haven't found a reliable method to measure CPU usage.
Any assistance or guidance on how to accurately measure these resource utilizations would be greatly appreciated.