<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0054)http://192.168.1.1:3333/userRpm/SystemStatisticRpm.htm -->
<HTML><HEAD><TITLE>Stastics</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content="wed, 26 Feb 1997 08:21:57 GMT"><LINK
href="SystemStatisticRpm.files/css_main.htm" rel=stylesheet>
<SCRIPT language=javascript src="SystemStatisticRpm.files/common.htm"
type=text/javascript></SCRIPT>
<SCRIPT language=Javascript><!--
if(window.parent == window){window.location.href="http://192.168.1.1";}
function Click(){ window.event.returnValue=false;}
document.oncontextmenu=Click;
function doChange(){document.sysStatic.submit();}
function ResetAll()
{if(!confirm("Are you sure to reset all statistics?")) return false;
location.href="SystemStatisticRpm.htm?Clear=All&interval="+StatRulePara[1]+"&autoRefresh="+StatRulePara[2]+"&sortType="+StatRulePara[3];}
function DeleteAll()
{
if(!confirm("Are you sure to delete all entries?"))
return false;
location.href="SystemStatisticRpm.htm?Delete=All&interval="+StatRulePara[1]+"&autoRefresh="+StatRulePara[2]+"&sortType="+StatRulePara[3];
}
//--></SCRIPT>
<SCRIPT language=JavaScript>
var statList = new Array(
1, "192.168.1.100", "00-19-CB-74-BC-69", 2063230, 1558650793, 0, 0, 0, 0, 0, 24, 0, 62,
2, "192.168.1.101", "00-1E-58-C0-2A-", 25216, 13614751, 0, 0, 0, 0, 0, 2, 0, 8,
4, "192.168.1.102", "00-03-0D-37-39-", 10064804, 3475088566, 0, 0, 0, 0, 0, 12, 0, 18,
3, "192.168.1.103", "00-13-A9-27-31-", 22713343, 1795116955, 0, 0, 0, 0, 0, 18, 0, 31,
5, "192.168.1.104", "00-1B-24-B5-12-", 1308151, 603270540, 0, 0, 0, 0, 0, 16, 0, 28,
6, "192.168.1.105", "00-02-44-B1-70-", 8522147, 2922557527, 4, 3464, 0, 0, 0, 16, 0, 20,
7, "192.168.1.106", "00-19-21-03--", 1251421, 1014526849, 0, 0, 0, 0, 0, 4, 0, 15,
0, "192.168.1.107", "00--6D", 1407364, 503498977, 0, 0, 0, 0, 0, 4, 0, 19,
8, "192.168.1.108", "-C4", 717679, 417792476, 0, 0, 0, 0, 0, 12, 0, 89,
0,0 );
var StatRulePara = new Array(
1,
5,
0,
1,
9,
13,
0,0 );
</SCRIPT>
<META content="MSHTML 6.00.2900.5512" name=GENERATOR></HEAD>
<BODY onresize=resize(this);
onload="LoadHelp('SystemStatisticHelpRpm.htm'); resize(this);">
<CENTER>
<FORM name=sysStatic action=SystemStatisticRpm.htm method=get
encType=multipart/form-data>
<TABLE id=autoWidth>
<TBODY>
<TR>
<TD class=h1 colSpan=3>Statistics</TD></TR>
<TR>
<TD class=blue colSpan=3></TD></TR>
<TR>
<TD class=Item>Current Statistics Status:</TD>
<TD class=emp>
<DIV id=statisticStatus>-</DIV></TD>
<TD><INPUT class=button type=submit value=Enable name=Statistics></TD></TR>
<TR>
<TD class=Item>Packets Statistics Interval(5~60):</TD>
<TD width="30%"><SELECT class=listS onchange=doChange() name=interval>
<OPTION value=5 selected>5</OPTION> <OPTION value=10>10</OPTION> <OPTION
value=15>15</OPTION> <OPTION value=20>20</OPTION> <OPTION
value=25>25</OPTION> <OPTION value=30>30</OPTION> <OPTION
value=35>35</OPTION> <OPTION value=40>40</OPTION> <OPTION
value=45>45</OPTION> <OPTION value=50>50</OPTION> <OPTION
value=55>55</OPTION> <OPTION value=60>60</OPTION></SELECT> Seconds</TD>
<TD></TD></TR>
<TR>
<TD></TD>
<TD><INPUT onclick=doChange(); type=checkbox value=2
name=autoRefresh> Auto-refresh</TD>
<TD><INPUT class=button type=submit value=Refresh name=Refresh></TD></TR>
<TR>
<TD></TD></TR>
<TR>
<TD class=Item>Sorted Rules:</TD>
<TD><SELECT onchange=doChange() name=sortType> <OPTION value=1
selected>Sorted by IP Address</OPTION> <OPTION value=2>Sorted by Total
Packets</OPTION> <OPTION value=3>Sorted by Total Bytes</OPTION> <OPTION
value=4>Sorted by Current Packets</OPTION> <OPTION value=5>Sorted by
Current Bytes</OPTION></SELECT></TD>
<TD><INPUT class=button onclick=ResetAll(); type=button value="Reset All" name=Clear>
<INPUT class=button onclick=DeleteAll(); type=button value="Delete All" name=Delete></TD>
<TR>
<TD colSpan=3>
<TABLE border=2>
<TBODY>
<TR>
<TD class=ListB> </TD>
<TD class=ListB colSpan=2>Total</TD>
<TD class=ListB colSpan=5>Current</TD>
<TD class=ListB rowSpan=2>Modify</TD></TR>
<TR>
<TD class=ListB>IP Address/<BR>MAC Address</TD>
<TD class=ListB>Packets</TD>
<TD class=ListB>Bytes</TD>
<TD class=ListB>Packets</TD>
<TD class=ListB>Bytes</TD>
<TD class=ListB>ICMP Tx</TD>
<TD class=ListB>UDP Tx</TD>
<TD class=ListB>SYN Tx</TD></TR>
<SCRIPT language=JavaScript>
if (StatRulePara[4] > 0) {
var row = 0;
for(var i = 0; i < StatRulePara[4]; i++) {
row = i * StatRulePara[5];
document.write('<TR><TD class=Listm>' + statList[row+1] + '<br>'+statList[row+2]+'</td>');
document.write('<TD class=LisTR>' + statList[row+3] + '</td>');
document.write('<TD class=LisTR>' + statList[row+4] + '</td>');
document.write('<TD class=LisTR>' + statList[row+5] + '</td>');
document.write('<TD class=LisTR>' + statList[row+6] + '</td>');
document.write('<TD class=LisTR>' + statList[row+7] + '/' + statList[row+8] + '</td>');
document.write('<TD class=LisTR>' + statList[row+9] + '/' + statList[row+10] + '</td>');
document.write('<TD class=LisTR>' + statList[row+11] + '/' + statList[row+12] + '</TD>');
document.write('<TD class=Listm><a href=\"SystemStatisticRpm.htm?resetone=' + statList[row] + '&interval='+StatRulePara[1]+'&autoRefresh='+StatRulePara[2]+'&sortType='+StatRulePara[3]+'\">Reset</a>'+' <a href=\"SystemStatisticRpm.htm?delone='+ statList[row] + '&interval='+StatRulePara[1]+'&autoRefresh='+StatRulePara[2]+'&sortType='+StatRulePara[3]+'\">Delete</a></TD></TR>');
}}
else {
document.write('<TR><TD class=Listm colspan="9">The current statistics table is NULL.</TD></TR>');}
</SCRIPT>
</TBODY></TABLE></TD></TR>
<TR>
<TD class=blue colSpan=9></TD></TR></TBODY></TABLE></FORM></CENTER>
<META http-equiv=pragma content=no-cache>
<SCRIPT language=JavaScript>
document.getElementById("statisticStatus").innerHTML = (StatRulePara[0] == 1)?"Enabled":"Disabled";
document.forms[0].Statistics.value =(StatRulePara[0] == 1)?"Disable":"Enable";
document.forms[0].interval.value =StatRulePara[1];
document.forms[0].autoRefresh.checked = StatRulePara[2];
document.forms[0].autoRefresh.disabled =(StatRulePara[0] == 1)?false:true;
document.forms[0].sortType.value =StatRulePara[3];
if (StatRulePara[2] && StatRulePara[0])
window.setTimeout("doChange()",5000);
</SCRIPT>
</BODY></HTML> |