- CPU: <%="availableProcessors="+runtime.availableProcessors()%>
|
- MEM: <%="maxMemory=["+runtime.maxMemory()/1024/1024+"M] freeMemory=[" + runtime.freeMemory()/1024/1024 +"M] totalMemory=[" + runtime.totalMemory()/1024/1024+"M]"%>
|
- AppServer: <%="ServerInfo=[" + application.getServerInfo() + "] WebAppVersion=[" + application.getMajorVersion() + "." + application.getMinorVersion()+"]"%>
|
- Context: <%="ContextPath= [" + request.getContextPath() + "] WebRealPath= [" + application.getRealPath("") + "] ContextName = ["+application.getServletContextName()+"]"%>
|
- Context: <%="ServerName= [" + request.getServerName() + "] ServerPort= [" + request.getServerPort()+ "] RemoteAddr= [" + request.getRemoteAddr()+ "] LocalAddr= [" + request.getLocalAddr()+"] LocalPort= [" + request.getLocalPort()+"]"%>
|
- Online User: <%="Count = [" + SessionListener.getCount() + "]"%>
查看
|
<%HashSet sessions = (HashSet) application.getAttribute("sessions");
if (sessions != null) { %>
- SessionTotal: <%="Count = [" + sessions.size() + "]"%>
|
<%} %>