title: PHP read console output
body: <p>Ok, so here's the thing. I need to read the output (the one that you usually see in a linux console). My biggest problem is that I don't need to read the output of a linear execution, but something rather like <code>wget http://ubuntu.com/jaunty.iso</code> and show its ETA.</p>
  
  <p>Also, the work-flow is the following:</p>
  
  <p><code>S</code> - webserver</p>
  
  <p><code>C</code><sub>1</sub> - computer1 in S's intranet</p>
  
  <p><code>C</code><sub>2</sub> - computer 2 in S's intranet</p>
  
  <p>and so on.</p>
  
  <p>User connects to <code>S</code> which connects to <code>C</code><sub>x</sub> then starts a <code>wget</code>, <code>top</code> or other console logging command (at user's request). User can see the "console log" from <code>C</code><sub>x</sub> while <code>wget</code> downloads the specified target.</p>
  
  <p>Is this plausible? Can it be done without using a server/client software?</p>
  
  <p>Thanks!</p>