You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by laredotornado <la...@gmail.com> on 2010/07/26 22:39:25 UTC

How to count number of active threads?

Hi,

I'm using Tomcat 6.0.26 on Red Hat Linux.  How do I count the number of
Tomcat threads currently executing?

Thanks, - Dave
-- 
View this message in context: http://old.nabble.com/How-to-count-number-of-active-threads--tp29270494p29270494.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: How to count number of active threads?

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: laredotornado [mailto:laredotornado@gmail.com]
> Subject: How to count number of active threads?
> 
> I'm using Tomcat 6.0.26 on Red Hat Linux.  How do I count the 
> number of Tomcat threads currently executing?

Probably the easiest way is to run JConsole, attach to the Tomcat instance of interest, and look at the Threads tab.  If you do that on the same machine Tomcat is running on, you don't need a JMX port or any other complications.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org