title: How do you calculate server load in PHP?
body: <p>How do you calculate the server load of PHP/apache? I know in vBulletin forums there's the server load displayed like <code>0.03 0.01 0.04</code> but it's not really understandable to a average joe.  So I thought about a 1-100 percentile scale. I wanted to display a server load visual that reads from a DIV:</p>
  
  <pre><code>$load = $serverLoad*100;
  &lt;div class=\"serverLoad\"&gt;
      &lt;div style=\"width: $load%;\"&gt;&lt;/div&gt;//show visual for server load on a 1-100 % scale
  &lt;/div&gt;
  &lt;p&gt;Current server load is $load%&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>However, I don't know how to detect server load.  Is it possible to do turn this server load into a percentile scale? I don't know where to start.  May someone please help me out?</p>
  
  <p>Thanks.</p>