[collectd] [PATCH] cpu plugin with libstatgrab on linux still use /proc/stat

Daniel Hilst danielhilst at gmail.com
Wed May 9 19:16:06 CEST 2012


The cpu plugin still uses /proc/stat to gather data, even if I compile 
it with libstatgrab...

When collecting statistics with libstatgrab, the cpu plugin submit all 
data to cpu-0, I've changed this to cpu-avg

This patch also add support for average (cpu-avg) collecting with 
/proc/stat files, on linux of course..


Regards,
Hilst
-- 
Follow the white rabbit!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpu-patch08.patch
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120509/5b2e5d73/attachment.ksh>


More information about the collectd mailing list