[collectd] PATCH: cpufrequ - collection.cgi

Peter Holik peter at holik.at
Tue Nov 22 10:15:28 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;

cu Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-3.3.0_cpufrequ.diff
Type: text/x-diff
Size: 4573 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20051122/2a8e4059/collectd-3.3.0_cpufrequ.bin

More information about the Collectd mailing list