We are running virtual machines in kvm and i am trying to collect metrics and send it to influxdb + grafana for graphing.
I can see CPU stats using
virsh but its in
time in second spend, how do i convert this value in proper usage in
% or human readable metrics?
[root@kvm01 ~]# virsh cpu-stats --total instance-0000047a Total: cpu_time 160808730.755660547 seconds user_time 148000.880000000 seconds system_time 85012531.050000000 seconds