简体   繁体   中英

Monitoring Java EE Application

I am deploying several applications over Payara Server. With VisualVM I can see the CPU, RAM etc. usage of the Glassfish Server. My problem is that I need to see the usage of each deployed application on the server seperatet.

Does anybody has an idea how I could monitor this ? Thanks!

I think this could be quite difficult since application servers are designed to share at least basic components/classes between applications.

However, you could try to use https://docs.oracle.com/javase/8/docs/api/java/lang/management/ThreadMXBean.html to find the CPU usage of all threads and filter those out that are not interesting to you (maybe by package name).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM