修改配置文件tomcat-users(该文件在Tomcat安装程序根目录中的conf文件夹中),添加一个admin设置权限,在
修改完成后,重启Tomcat服务器,在浏览器中输入URL(http://localhost:8080/),或http//IP:8080;
点击【Sever-Status】
输入
帐号:admin
密码:1234
点击确认,进入Tomcat status 页面
基本信息主要包括3部分内容:JVM、HTTP和jk。
JVM的信息如下:
Free memory: 304.84 MB Total memory: 903.00 MB Max memory: 7273.00 MB
Free memory:空闲内存大小。
Total memory:总内存大小。
Max memory:最大内存大小。
HTTP相关信息如下:
Max threads: 200 Current thread count: 10 Current thread busy: 1 Keeped alive
sockets count: 1Max processing time: 187 ms Processing time: 0.281 s Request
count: 32 Error count: 3 Bytes received: 0.00 MB Bytes sent: 0.12 MB
Max threads:最大线程数。
Current thread count:最近运行的线程数。
Max processing time:最大CPU时间。
Processing time:CPU消耗总时间。
Request
count:请求总数。
Error count:错误的请求数。
Bytes received:接收字节数。
Bytes sent:发送字节数。