[collectd] Plugin cpu and "merged" stat

Greg greg at easyflirt.com
Wed Jan 14 11:18:28 CET 2009


Hi Florian,

> no, right now that's not possible.
>
> Personally, I value the per-CPU information, but if someone hands in a
> patch to add a `Combine true|false' configuration option, I don't see
> why that patch shouldn't be accepted.
>
>   

Seems the patch will be easy, something like :

305c305
<               if ((buf[3] < '0') || (buf[3] > '9'))
---
 >               if ((buf[3] < '0') || (buf[3] > '9') && (buf[3] != ' '))

Regards,

-- 
Greg




More information about the collectd mailing list