- Timestamp:
- 10/28/10 17:18:31 (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/perf/menulive.php
r125 r126 34 34 $RouterEngineID = array(); 35 35 $finputTPL = fopen($TPL_DEF,'r'); 36 $TPLNumberTotal = 0; 37 $OTPLNumberTotal = 0; 36 38 while (!feof ($finputTPL)) { 37 39 $line = fgets($finputTPL, 512); 38 40 $line_split = split(" ",$line); 41 if ( $line_split[1] == "OpTId" ) { 42 $OTPLNumberTotal += 1; 43 } 39 44 if ( $line_split[1] == "TId" ) { 45 $TPLNumberTotal += 1; 40 46 $rtr_tmp = $line_split[0]; 41 47 if ($RouterEngineID) { … … 104 110 print " </div> \n"; 105 111 106 $res = `cat $TPL_DEF | grep " TId " | wc -l | awk '{print $1}'`; 107 108 if 112 ##$res = `cat $TPL_DEF | grep " TId " | wc -l | awk '{print $1}'`; 109 113 110 114 ?> -
trunk/web/perf/tpl.php
r120 r126 27 27 /* no tpl choiced */ 28 28 print " <h2> List of Routers by Engine & Template number</h2> \n"; 29 print "<p> An engine (aka sourceID) represents an exporter and we can have few templates by engine (function of interfaces numbers and/or services). Template definition can be found in vertical menu. For more detail on engine and template see <a href=\"https://www.cisco.com/en/US/technologies/tk648/tk362/technologies_white_paper09186a00800a3db9.html\"> the CISCO Documentation</a>. </p>\n"; 29 print "<p>"; 30 print " An engine (aka sourceID) represents an exporter and we can have few templates by engine (function of interfaces numbers and/or services). Template definition can be found in vertical menu. For more detail on engine and template see <a href=\"https://www.cisco.com/en/US/technologies/tk648/tk362/technologies_white_paper09186a00800a3db9.html\"> the CISCO Documentation</a>.<br>\n"; 31 print " RENETCOL runs with $TPLNumberTotal Templates and $OTPLNumberTotal Optional Templates definitions.\n"; 32 print "</p>"; 30 33 print "<h3> Routers with 6 engines or more </h3>\n"; 31 34 print "<table class=\"fields\">\n";