如何在Tomcat服务器上监视多个Web应用程序(使用JMX)? [英] Howto Monitor several web applications (with JMX) on a Tomcat server?

查看:128
本文介绍了如何在Tomcat服务器上监视多个Web应用程序(使用JMX)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以监视Tomcat服务器上单个Web应用程序的CPU和内存消耗?

Is there a way to monitor CPU and memory consumption of an individual web application on a Tomcat server?

我已经Tomcat在其JVM下打开所有Web应用程序,因此我只能看到一个JVM,并且无法单独监视每个Web应用程序.
Web应用程序是密封的WAR文件,我也不能篡改Java代码.

I have Tomcat opening all the web applications under its JVM, so I only see one JVM and cannot monitor each web-app by itself.
The web-apps are sealed WAR files and I cannot tamper with the Java code either.

推荐答案

(对于一个非常类似的问题/建议),官方答案似乎是

Looks like the official answer (to a very similar question/suggestion) is to run multiple Tomcat instances.

这篇关于如何在Tomcat服务器上监视多个Web应用程序(使用JMX)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆