Code Search for Developers
 
 
  

iostats.asp from POL-distro scripts at Krugle


Show iostats.asp syntax highlighted

<%
use uo;
use os;
%>

<html>
<head>
<title>Script Profiles</title>
</head>

<body>

<% 
  include header; 
  PrintHeader( "Script Profiles" );
%>

<div align=center>
<table border=1 cellspacing=0 cellpadding=5>
  <tr bgcolor=#99CCFF>
    <td colspan=3>Packets Sent</td>
  </tr>
  <tr bgcolor=#99CCFF>
    <td>Message Type</td>
    <td>Count</td>
    <td>Bytes</td>
  </tr>
<%
  var iostats;

  iostats := polcore().iostats;
  for msgtype := 0 to 255
    if (iostats.sent[msgtype+1].count)
%>
  <tr>
	<td><%=msgtype%></td>
    <td><%=iostats.sent[msgtype+1].count%></td>
    <td><%=iostats.sent[msgtype+1].bytes%></td>
  </tr>
<%
    endif
  endfor
%>

</table>
</div>

</BODY>
</HTML>




See more files for this project here

POL-distro scripts

The default distribution of scripts for the POL server project.

Project homepage: http://sourceforge.net/projects/pol-distro
Programming language(s): ASP,Pascal
License: other

  all_scripts.asp
  bandwidth.asp
  header.inc
  index.asp
  index.htm
  iostats.asp
  long_running_scripts.asp
  npcgroup.asp
  running_scripts.asp
  script_profiles.asp
  scriptex.asp
  storage.asp
  storagearea.asp
  viewitem.asp