nanos icon indicating copy to clipboard operation
nanos copied to clipboard

How to retrieve On-prem resource utilization

Open leeyiding opened this issue 7 months ago • 8 comments

Hello, I am currently trying to retrieve the resource utilization of on-premise QEMU instances, specifically focusing on CPU and memory usage.

  1. The results obtained using standard commands like ps are often inaccurate.
  2. 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'}}.
  3. 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.

leeyiding avatar Jul 23 '24 11:07 leeyiding