View Full Version : check number of http connection in tomcat
I use tomcat as web server.
I want to know how to check number of exisited http connect in the existing tomcat server ...
Please advice ...
That is really simple: install Java-monitor (http://java-monitor.com/install.html) and then look at the HTTP pool graph for you HTTP connector.
I use java 1.4 only ...
I cannot upgrade the java as it is production machine .
Please advice other way to monitor/check number of http connection existed in tomcat server ....
You use Java 1.4 in production? Wow. You realize that even Java 1.5 is already EOSL (http://java-monitor.com/forum/showthread.php?t=619), never mind 1.4?
The only (messy) way I can think of is to force a thread dump (kill -3 on the pid) on the Tomcat process and then go through the logs to count the threads that have a name like <something>http<something>.
Or upgrade to Java 1.6 (and get a nice performance boost) and use Java-monitor. :)
PS. Here is a list of the JDK versions compared (http://java-monitor.com/forum/showthread.php?t=8), by the way.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.