Changeset 125 for trunk/web/perf

Show
Ignore:
Timestamp:
10/26/10 16:53:14 (12 years ago)
Author:
andreu
Message:

syslog output parameters modification - new web page for monitoring site (log, introduction)

Location:
trunk/web/perf
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/web/perf/log.php

    r120 r125  
    11<?php 
    22 
    3 print "A FAIRE"; 
     3$res = `tail -50 /var/log/renetcol.log > /tmp/renetcol_log.txt`; 
     4 
     5$finputlog = fopen("/tmp/renetcol_log.txt",'r'); 
     6 
     7print "<div id=\"contenu\">\n"; 
     8 
     9print "<p>"; 
     10print "<ul>"; 
     11while (!feof ($finputlog)) { 
     12  $line = fgets($finputlog, 512); 
     13  $line = trim($line); 
     14  print "<li>$line</li>"; 
     15 } 
     16print "</ul>"; 
     17print "</p>"; 
     18print "</div>\n"; 
     19fclose($finputlog); 
    420 
    521?> 
  • trunk/web/perf/menulive.php

    r120 r125  
    104104print "        </div> \n"; 
    105105 
     106$res = `cat $TPL_DEF | grep " TId " | wc -l | awk '{print $1}'`; 
     107 
     108if  
     109 
    106110?> 
  • trunk/web/perf/output.php

    r120 r125  
    11<?php 
    22 
    3 print "A FAIRE"; 
     3print "<div id=\"contenu\">\n"; 
     4print "<p> Under construction </p>"; 
     5print "</div>\n"; 
    46 
    57?>