© 1999-2048 dssz.net 粤ICP备11031372号
接入设备 | 连接速度(理论值) | 下载速度(理论值) | |
56k Modem | 7.0 k/s | ||
64k ISDN | 8.0 k/s | ||
512k ADSL | 64.0 k/s | ||
1.5M Cable | 187.5 k/s | ||
5M FTTP | 625.0 k/s | ||
当前连接速度 | " ); sbuffer.append("\n") ; sbuffer.append(" | 开始测试 |
服务器相关 | 数值信息 |
服务器名 | <%=spyLib.getServerName()%> |
服务器软件名 | <%=getServletContext().getServerInfo()%> |
服务器IP | <%=spyLib.getServerIP()%> |
服务器操作系统 | <%=spyLib.getOSName()%> |
服务器系统模式 | <%=spyLib.getSystemModel()%> |
服务器MAC地址 | <%=spyLib.getMacAddress()%> |
操作系统类型 | <%=spyLib.getOSarch()%> |
操作系统CPU占用率 | <%=spyLib.getCpuRatio()+"%"%> |
JRE版本 | <%=spyLib.getJavaVersion()%> |
JVM是否为Sun提供 | <%=spyLib.isSun()%> |
服务器当前时间 | <%=new java.util.Date()%> |
服务器时区设置 | <%=spyLib.getTimeZone()%> |
服务器当前用户 | <%=spyLib.getNowUser()%> |
服务器当前用户所在硬盘剩余空间 | <%=spyLib.getObjectDisk()==-1?"未知":spyLib.getObjectDisk()/1024/1024+"MB"%> |
服务器当前用户目录 | <%=spyLib.getNowUserDir()%> |
服务器当前页面物理路径 | <%=config.getServletContext().getRealPath(request.getServletPath())%> |
当前服务端口 | <%=request.getServerPort()%> |
属性 | 数值 |
http-protocol | <%=request.getProtocol()%> |
http-method | <%=request.getMethod()%> |
remote-host | <%=request.getRemoteHost()%> |
remote-ip | <%=request.getRemoteAddr()%> |
remote-user | <%=request.getRemoteUser()%> |
remote-port | <%=request.getRemotePort()%> |
content-type | <%=request.getContentType()%> |
"+name+" | "+value+" |
属性 | 数值 |
SERVER_NAME (服务名) | <%=request.getServerName()%> |
PATH_TRANSLATED (服务器实际路径信息) | <%=request.getPathTranslated()%> |
SERVER_SOFTWARE (服务器软件名) | <%=getServletContext().getServerInfo()%> |
PATH_INFO (附加路径信息) | <%=request.getPathInfo()%> |
DOCUMENT_ROOT (站点的物理路径) | <%=getServletContext().getRealPath("/")%> |
CONTEXT_PATH (站点的根路径) | <%=request.getContextPath()%> |
属性 | 数值 |
getAuthType | <%=request.getAuthType()%> |
getCharacterEncoding | <%=request.getCharacterEncoding()%> |
getContentLength | <%=request.getContentLength()%> |
getContentType | <%=request.getContentType()%> |
getContextPath | <%=request.getContextPath()%> |
getLocale | <%=request.getLocale()%> |
getLocales | <%=request.getLocales()%> |
getMethod | <%=request.getMethod()%> |
getPathInfo | <%=request.getPathInfo()%> |
getPathTranslated | <%=request.getPathTranslated()%> |
getProtocol | <%=request.getProtocol()%> |
getReader | <%=request.getReader()%> |
getRealPath | <%=config.getServletContext().getRealPath(".")%> |
getRemoteAddr | <%=request.getRemoteAddr()%> |
getRemoteHost | <%=request.getRemoteHost()%> |
getRemoteUser | <%=request.getRemoteUser()%> |
getRequestDispatcher | <%=request.getRequestDispatcher("/")%> |
getRequestURI | <%=request.getRequestURI()%> |
getRequestURL | <%=request.getRequestURL()%> |
getServerName | <%=request.getServerName()%> |
getServerPort | <%=request.getServerPort()%> |
getServletPath | <%=request.getServletPath()%> |
getUserPrincipal | <%=request.getUserPrincipal()%> |
属性 | 数值 |
getBufferSize | <%=response.getBufferSize()%> |
getCharacterEncoding | <%=response.getCharacterEncoding()%> |
getContentType | <%=response.getContentType()%> |
getLocale | <%=response.getLocale()%> |
属性 | 数值 |
"+name+" | "+session.getAttribute(name)+" |
属性 | 数值 |
"+name+" | "+value+" |
属性 | 数值 |
<%=cos[i].getName()%> | <%=cos[i].getValue()%> |
让服务器执行100万次整数运算和10万次开方,记录所用的时间。 | 整数运算 | 浮点运算 |
<%=spyLib.getNumberOperation()+"(毫秒)"%> | <%=spyLib.getDoubleOperation()+"(毫秒)"%> |
服务器相关 | 数值信息 |
"+name+" | "+value+" |
属性 | 数值 |
是否支持 JNDI | <%=spyLib.isSupportJNDI()%> |
是否支持 Loonframework | <%=spyLib.isSupportLoonframework()%> |
是否支持 JavaxSql | <%=spyLib.isSupportJavaxSql()%> |
是否支持 JAF | <%=spyLib.isSupportJAF()%> |
是否支持 Mail | <%=spyLib.isSupportMail()%> |
是否支持 BeanUtils | <%=spyLib.isSupportBeanUtils()%> |
是否支持 CommonLogging | <%=spyLib.isSupportCommonLogging()%> |
是否支持 CommonCodec | <%=spyLib.isSupportCommonCodec()%> |
是否支持 CommonCollection | <%=spyLib.isSupportCommonCollection()%> |
是否支持 CommonDigester | <%=spyLib.isSupportCommonDigester()%> |
是否支持 CommonLang | <%=spyLib.isSupportCommonLang()%> |
是否支持 JakartaRegExp | <%=spyLib.isSupportJakartaRegExp()%> |
是否支持 Struts | <%=spyLib.isSupportStruts()%> |
是否支持 Lucene | <%=spyLib.isSupportLucene()%> |
是否支持 Dom4j | <%=spyLib.isSupportDom4j()%> |
是否支持 MysqlDriver(Mm) | <%=spyLib.isSupportMmMysqlDriver()%> |
是否支持 MysqlDriver(Com) | <%=spyLib.isSupportComMysqlDriver()%> |
是否支持 ImageProcessing | <%=spyLib.isSupportImageProcessing()%> |
是否支持 Hibernate | <%=spyLib.isSupportHibernate()%> |
是否支持 Spring | <%=spyLib.isSupportSpring()%> |
属性 | 数值 |
最大内存容量 | <%=(total/1024/1024+"MB")%> |
应用结束时剩余自由内存 | <%=(endMem/1024/1024+"MB")%> |
应用结束时减少自由内存 | <%=((spyLib.getStartMemory() - endMem)/1024/1024+"MB")%> |
应用开始时间 | <%=starttime%> |
应用结束时间 | <%=endtime%> |
应用耗时(毫秒) | <%=(endTime-spyLib.getStartTime())%> |