search for: vir_node_cpu_stats_util

Displaying 1 result from an estimated 1 matches for "vir_node_cpu_stats_util".

2013 Apr 01
0
nparams in virNodeGetCPUStats and CPU utilization
...lue: 67100000000 The documentation at http://libvirt.org/html/libvirt-libvirt.html on the virNodeGetCPUStats(...) API says that nparams is dynamic. Does that mean that not all params are available for a node? I was hoping that nparams would be 5 and that params[4] would contain the utilization (VIR_NODE_CPU_STATS_UTILIZATION). If the answer to the above is 'yes'. Then, I was wondering as to what would be the correct way to calculate the CPU utilization of a node?. Thanks, --Hari