2016-02-29 71 views
0

有没有一种快速监视运行时tomcat线程池中空闲线程总数的方法?监视Tomcat中的空闲线程

东西是有用的,如:

Say suppose total of threads in thread pool : (m + n) , Would like to see something like : 

Num of working threads : m 
Num of idle threads : n 

我明白,如果我附上一个代理像yourkit,JMX - 它可以实现。但除此之外,我可以在特定时间间隔内转储此信息?

在此先感谢!

回答

0

您可以使用相同的tomcat管理器应用程序(内置)。