<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="net.sz600.tool.SzConvert" %>
<%@ page import="net.sz600.tool.SzDateHelp" %>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<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%></h2>
<BR><h2>totalMemory总内存：<%= net.sz600.system.SzInitialServlet.tM%></h2>
<BR><h2>maxMemory最大内存：<%= net.sz600.system.SzInitialServlet.mM%></h2>
<BR><h2>已占用的内存：<%= net.sz600.system.SzInitialServlet.tM - net.sz600.system.SzInitialServlet.fM%></h2>

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

