Code Search for Developers
 
 
  

long_running_scripts.asp from POL-distro scripts at Krugle


Show long_running_scripts.asp syntax highlighted

<%
use uo;
use os;
%>

<html>
<head>
<title>Long Running Scripts</title>
</head>

<body>
<% 
  include header; 
  PrintHeader( "Long-running Scripts" );
%>

<div align=center>
<table border=1 cellspacing=0 cellpadding=5>
  <tr bgcolor=#99CCFF>
    <td>Script Name</td>
    <td>Cycles</td>
	<!--<td>Sleep Cycles</td>-->
    <td>Cycles since Sleep</td>
    <td>Prog Counter</td>
	<td>Call Depth</td>
	<td>Globals</td>
	<td>Var Size</td>
  </tr>

<%
  foreach script in (polcore().running_scripts)
    if (script.consec_cycles >= 50)
%>
  <tr>
    <td><%=script.name%></td>
	<td><%=script.instr_cycles%></td>
	<!--<td><%=script.sleep_cycles%></td>-->
    <td><%=script.consec_cycles%></td>
	<td><%=script.PC%></td>
	<td><%=script.call_depth%></td>
	<td><%=script.num_globals%></td>
	<td><%=script.var_size%></td>
  </tr>
<%
    endif
    sleepms(1);
  endforeach
%>

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