Percent CPUTime

How do you show cputime of a process as percent cpu in Grafana?

My backend of InfluxDB 1.3.1
Data is coming from collectd 5.7.1

not sure, depends on what metrics you have. do you know what fields / metrics you collectd collect? do you have cpu count, idle, system etc?

GM Torkel,

I have the following:

show series where instance = ‘ads’ and type = ‘ps_cputime’


ok, so you have only ps_cputime metric? what does the collectd docs say this value represents?

Per the code, the value is in microseconds

ok, you need other values as well to calculate percent idle / used