Hello,

Yes, this is a serious question if you are using some aggregation plugin on various architectures (for example Solaris and Linux).

The value is not exactly in milliseconds but in jiffies.
On your Linux, one jiffy is one millisecond. This is probably why you say it returns CPU clock time in milliseconds.

On other Linux (old ones or tuned ones) and other OS, a jiffy can be different.

Aggregating values that are measured with different jiffies will result in strange values. The only "unit" that can be used here is %.

I have already worked on a patch, but for Solaris (https://github.com/collectd/collectd/pull/189). I have stopped my work because I don't know if collectd should compute % instead of jiffies or if it should send both data : % and jiffies. I think both is better (and add the possibility to configure collectd to get only one).

Regards,
Yves

Le 2013-01-07 14:21, William Salt a écrit :
Hi All,

Im pretty new to collectd, whilst ive managed to configure a lot of basic metrics, and graph them in graphite, im having issues with the processes
plugin.
My issue is that it returns CPU clock time in milliseconds, instead of CPU
%, is there further configuration that i have to either return the
percentage, or calculate it?

Many thanks
Will

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

--
- Homepage - http://ymettier.free.fr - - GPG key - http://ymettier.free.fr/gpg.txt - - C en action - http://ymettier.free.fr/livres/C_en_action_ed2.html - - Guide Survie C - http://www.pearson.fr/livre/?GCOI=27440100673730 -

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to