RE: finding number of threads being used by Tomcat

2003-08-14 Thread Shapira, Yoav

Howdy,
Search the archives of this list.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Rau NF [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 5:09 PM
To: [EMAIL PROTECTED]
Subject: finding number of threads being used by Tomcat

Hello - Is there a way (programmatically or otherwise) to find the
number
of threads being  used by Tomcat while it's running ? This will be some
number between minProcessors and maxProcessors.

kill -3 on the JVM and getting the number of threads from the thread
dump
is not an option.


Thanks
Rau



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: finding number of threads being used by Tomcat

2003-08-14 Thread Tim Funk
In tomcat5 - this is easy to do via JMX. (the manager app has status 
servlet, or look into JMXProxy servlet for more control but its harder to use)

 In tomcat 4 - I don't know how much connector stuff is exposed.

-Tim

Rau NF wrote:
Hello - Is there a way (programmatically or otherwise) to find the number of threads being  used by Tomcat while it's running ? This will be some number between minProcessors and maxProcessors. 
 
kill -3 on the JVM and getting the number of threads from the thread dump is not an option. 
 
 
Thanks
Rau

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]