<div dir="ltr">Hi Toni,<div><br></div><div>Would it be better to issue a PR at <a href="https://github.com/collectd/collectd">https://github.com/collectd/collectd</a> instead?</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Q: why is this approach better than using the aggregate functionality?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,<br clear="all"><div>Otis<br>--<br>Performance Monitoring * Log Analytics * Search Analytics<br>
Solr & Elasticsearch Support * <a href="http://sematext.com/" target="_blank">http://sematext.com/</a></div>
<br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 8:24 AM, Toni Moreno <span dir="ltr"><<a href="mailto:toni.moreno@gmail.com" target="_blank">toni.moreno@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi.</div><div><br></div><div>I've been working on get global average CPU , from the cpu plugin better than use the "aggregate" to get the same values.</div><div><br></div><div>I've attached a patch for the cpu plugin.</div>

<div><br></div><div>with this patch you will get a new  "plugin-instance" named  "global" , with  % average of all cpu cores .</div><div><br></div><div>I've obtained these values from the same proc file that cpu plugin uses for  the other cores.</div>

<div><br></div><div>NOTE: This patch is only for linux.</div><div><br></div><div><br></div><div>I hope you can enjoy it</div><div><br></div><div><br></div><div><br></div><div><div><br></div>-- <br><p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">Att</font></p>


<p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">Toni Moreno</font></p>
<p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">699706656</font></p><img height="2" vspace="9" width="100%"><br>  
<p align="right"><em>Si no quieres perderte en el olvido tan pronto como estés muerto y corrompido, </em></p>
<p align="right"><em>escribe cosas dignas de leerse, o haz cosas dignas de escribirse.</em></p>
<p align="right"> </p>
<p align="right"><strong><em>Benjamin Franklin</em></strong> <br></p>
</div></div>
<br>_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div><br></div></div>