Code Search for Developers
 
 
  

bandwidth.asp from POL-distro scripts at Krugle


Show bandwidth.asp syntax highlighted

<%
use os;
use uo;
%>

<HTML>
<BODY>
<% 
  include header; 
  PrintHeader( "Bandwidth Usage" );
%>

<table border=1 cellspacing=0 cellpadding=5>
  <tr bgcolor=#99CCFF>
    <td>Bytes Sent</td>
    <td>bps out</td>
    <td>Received</td>
    <td>bps in</td>
  </tr>

<% foreach elem in (GetGlobalProperty( "#:servperf:bandwidth" )) %>
  <tr>
    <td><%=elem[2]%></td>
    <td><%=elem[2]/6%></td>
    <td><%=elem[1]%></td>
    <td><%=elem[1]/6%></td>
  </tr>
<% endforeach %>
</table>

</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