【发布时间】:2016-06-12 00:45:23
【问题描述】:
有没有一种快速的方法来监控运行时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 这样的代理 - 它可以实现。但是除了我可以在特定时间间隔转储此信息之外的其他任何东西吗?
提前致谢!
【问题讨论】:
标签: tomcat threadpool