<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="net.sz600.tool.SzConvert" %>
<%@ page import="net.sz600.tool.SzDateHelp" %>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="images/skin1/css2007.css" rel="stylesheet" type="text/css">
</head>
<table align="center">
<tr><td>
<%
	String sServletPath = request.getServletPath();
  	String s[] = sServletPath.split("/");
  	int iLen = s.length;

	for (int i=2; i<iLen; i++ ) {
	System.out.println(i + "==" + s[i]);
	}

%>
<BR><h2>连接使用数量：<%=net.sz600.database.SzConnectionPool.getConnCount()%></h2>
<br>初始化前内存情况：
<BR><h2>freeMemory空闲内存：<%= net.sz600.system.SzInitialServlet.fM/1000/1000%>M</h2>
<BR><h2>totalMemory总内存&nbsp;：<%= net.sz600.system.SzInitialServlet.tM/1000/1000%>M</h2>
<BR><h2>maxMemory最大内存&nbsp;：<%= net.sz600.system.SzInitialServlet.mM/1000/1000%>M</h2>
<BR><h2>已占用的内存&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;：<%= (net.sz600.system.SzInitialServlet.tM - net.sz600.system.SzInitialServlet.fM)/1000/1000%>M</h2>

<br>当前的内存情况：
<BR><h2>freeMemory空闲内存：<%= java.lang.Runtime.getRuntime().freeMemory()/1000/1000%>M</h2>
<BR><h2>totalMemory总内存&nbsp;：<%= java.lang.Runtime.getRuntime().totalMemory()/1000/1000%>M</h2>
<BR><h2>maxMemory最大内存&nbsp;：<%= java.lang.Runtime.getRuntime().maxMemory()/1000/1000%>M</h2>
<BR><h2>已占用的内存&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;：<%= (Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory())/1000/1000%>M</h2>
</td></tr>
</table>

