Hello All,
I am using mod_jk connector and the
tomcat server to receive and process the incoming Http requests for my website. When i log in to Tomcat manager, in the server status page i can see the following for jk-8009:
Max threads: 200 Current
thread count: 56 Current thread busy: 21
Max processing time: 211187 ms Processing time: 5520.54 s Request count: 28424 Error count: 1446 Bytes received: 0.13 MB Bytes sent: 1155.16 MB
My question is: How can i find out the Current thread count for my connector using the
java code/unix command/any other possible way ?
My task is to keep track of the current thread count using java code/unix command/any possible way and inform the admin when my connector current thread count reaches 180.
Could anyone suggest me the ways to implement this?
Thank you in advance.
-Ratna.