title: Jiffies to percentage in InfluxDB
body: <p>I am collecting data from a Proxmox host into an InfluxDB datasource.
  This datasource is used to power a Grafana dashboard.
  Data is collected as it should, but I have a problem plotting
  the CPU usage.</p>
  
  <p>I have figured out that the data that is sent concerning the CPU
  is sent as jiffies, so I figured that;</p>
  
  <pre><code>System / System + User + Idle = Percentage System CPU Usage
  </code></pre>
  
  <p>I then have to take a mean of all those values to get the mean System CPU usage for the last minute.
  Here is where i run into a problem. 
  The InfluxDB documentation states</p>
  
  <blockquote>
    <p>The use of mathematical operators inside of function calls is currently unsupported.</p>
  </blockquote>
  
  <p>as can be found here <a href="https://docs.influxdata.com/influxdb/v0.9/query_language/math_operators/" rel="nofollow" title="InfluxDB documentation on Math operators">InfluxDB documentation</a></p>
  
  <p>My question is if there is a workaround for this so I can calculate the mean of a sum.</p>