Search code examples
cmonitoringcitrixxen

XenServer C SDK units for utilization


I am using the Citrix XenServer C SDK to obtain values of host_cpu utlization.

Any idea what units this data is represented in the test/test_get_records.c enter image description here Generates the following output.. I am expecting percentile:

Code Output

Please comment on how this figure relates to a percentage value.


Solution

  • XenServer has obsoleted these methods. It is however possible to use the CLI to run an script on the xenserver using xe commands to obtain some these utilization data.

    However, the data obtained are in raw-format: you would have to average the values of all cpu cores to get the overall CPU usage.