[collectd] PATCH: cpufrequ - collection.cgi

Peter Holik peter at holik.at
Tue Nov 22 10:12:53 CET 2005


> I had just one idea: You're measuring megahertz, which seems okay for
> now. But since the cpu frequencies are still growing exponentially we'll
> see something like 10kMhz soon, which doesn't make sense.. Why not
> measure the frequency in hertz and let RRDTool convert this to mega,
> giga, tera or whatever region the deskheaters will reach next decade?
> RRDTool internally uses 64 bit values so big numbers are no problem ;)

correct, sorry my mistake

collect now in Hz


collectd-3.3.0_cpufrequ.diff: cpufreq_read

val = atoll (buffer);

changed to

val = atoll (buffer) * 1000;


also changed collection.cgi

cu Peter




More information about the Collectd mailing list