title: Reactphp process status statistic (idle, worked, etc)
body: <p>I starting using <a href="http://reactphp.org/" rel="noreferrer">http://reactphp.org/</a> for handle HTTP request.</p>
  
  <p>I run multiple react workers that run on different ports and then use Nginx as load balancing to handle requests.
  Like this</p>
  
  <pre><code>upstream backend  {
      server 127.0.0.1:13300;
      server 127.0.0.1:13301;
      .....
  }
  </code></pre>
  
  <p>All works well as expected.</p>
  
  <p>The question is how to get a statistic of reactphp process status. How many processes currently on idle state (waiting for new request), how many process is work under request, etc.</p>
  
  <p>Is there existing workaround? </p>
  
  <p>Or idea how to handle process statistic by hand. </p>
  
  <p>Example - locking write to some cache process status. When is start request process - increase number of handled processes, when finish request - increase number of idle processes. </p>