[collectd] cpu-idle greater than 100?

Pavel Georgiev pavel at netclime.com
Fri Jul 11 18:32:29 CEST 2008


Is it OK that I get values larger than 100 for cpu-idle?

rrdtool fetch  cpu-1/cpu-idle.rrd MIN -s 'end - 10min' |tail
1215793540: 1.0042000000e+02
1215793550: 1.0056000000e+02
1215793560: 1.0078000000e+02
1215793570: 1.0072000000e+02
1215793580: 1.0030000000e+02
1215793590: 1.0040000000e+02
1215793600: 1.0066000000e+02
1215793610: 1.0064000000e+02

Thats on a ubuntu 8.04 server with Intel(R) Core(TM)2 Duo CPU     E7200

Also, what is the best practice for calculating total cpu time? I`m trying to 
use 100 - cpu-idle but since cpu-idle does not look to be reported correctly.

Is there an easy way to get the total CPU regardless of the number of CPUs or 
I need to calculate the average from all cpus?



More information about the collectd mailing list