Im using the processes plugin to find specific processes via regex, and monitoring their cpu usage, this is the total time spent in jiffies (milliseconds) across all cores.
In graphite, i am dividing it by the number of cpu cores i have on a machine then turning that into percent. this gives me a percentage of total cpu usage across all cores for that process. However, i cannot ascertain in graphite the exact number of cpus a node has, it differs greatly, and its not scalable to have static values in graph query strings like this, nor efficient to work this out when rendering a graph. I wondered if someone could patch the plugin to allow a flag to produce the average cpu use across all cores? grabbing the number of cpus from /proc/cpuinfo and dividing the metric by that? bonus if it had a flag to output a percent! Cheers Will
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
