title: How to track the progress of the content of the file using either html, jquery or perl?
body: <p>I am using CGI + HTML to make a web application which runs external Perl program, for that I am using the system. This program takes approximately 60 min to complete and each step is recorded in a file. I would like to show those steps on the web browser as a real-time. I tried using the following command:</p>
  
  <pre><code>system('tail -f ' $filename);
  </code></pre>
  
  <p>This command works finee, however, it does not exist to show the footer. I tried - </p>
  
  <pre><code>'tail -fq $filename'
  </code></pre>
  
  <p>I appreciate any suggestion or comment. </p>
  
  <p>Thanks in advance!</p>