- Timestamp:
- 10/26/10 16:53:14 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/renetcol.c
r121 r125 86 86 static struct sockaddr_in name2; 87 87 static struct sockaddr_in fromName; 88 char *log = "renetcol"; 88 89 #ifdef READFROMFILE 89 90 char *myPcapFileName, errBuffer[PCAP_ERRBUF_SIZE]; … … 133 134 #endif 134 135 135 openlog(argv[0], LOG_PID, LOG_USER); 136 /* openlog(argv[0], LOG_PID, LOG_USER);*/ 137 openlog(log, NULL, LOG_LOCAL7); 136 138 137 139 initCache(); -
trunk/web/index.php
r122 r125 38 38 include ('menuintro.php'); 39 39 print " <div id=\"contenu\">\n"; 40 print " <p> ICI texte d'introduction </p>\n";40 include ('introduction.php'); 41 41 print " </div>\n"; 42 42 } else if ($section == "res") { … … 46 46 include ('./perf/menulive.php'); 47 47 print " <div id=\"contenu\">\n"; 48 print " <p> ICI texte d'introduction à la section Collector Live </p>\n";48 include ('collector_live_intro.php'); 49 49 print " </div>\n"; 50 50 } else if ($section == "perf") { -
trunk/web/perf/log.php
r120 r125 1 1 <?php 2 2 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 7 print "<div id=\"contenu\">\n"; 8 9 print "<p>"; 10 print "<ul>"; 11 while (!feof ($finputlog)) { 12 $line = fgets($finputlog, 512); 13 $line = trim($line); 14 print "<li>$line</li>"; 15 } 16 print "</ul>"; 17 print "</p>"; 18 print "</div>\n"; 19 fclose($finputlog); 4 20 5 21 ?> -
trunk/web/perf/menulive.php
r120 r125 104 104 print " </div> \n"; 105 105 106 $res = `cat $TPL_DEF | grep " TId " | wc -l | awk '{print $1}'`; 107 108 if 109 106 110 ?> -
trunk/web/perf/output.php
r120 r125 1 1 <?php 2 2 3 print "A FAIRE"; 3 print "<div id=\"contenu\">\n"; 4 print "<p> Under construction </p>"; 5 print "</div>\n"; 4 6 5 7 ?>