<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 src="http://graphics.hotmail.com/greypixel.gif" 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>