Hi,
sorry for the intrusion...
could the number of active threads be retrieved also by code, invoking
direclty Tomcat API?

I'm using Embedded Tomcat.

Thanks, regards.
Raffaele


Leon Rosenberg-3 wrote:
> 
> there is probably no such thing as "best way"
> 
>>   - JVM Heap usage
> manager and lambdaprober
>>   - Number of active threads (if by active threads you mean current
>> requests)
> manager, lambdaprobe, moskito
>>   - JDBC connection pool stats
> lambdaprobe
>>   - Active thread list
> lambdaprobe, moskito (if by active threads you mean current requests)
>>   - Hits/Sec (running average)
> all of the above. However, running average is pretty useless, since
> after a week of running it won't change even if the hits doubled or
> halved. If you want the average in last 15 minutes or some other time
> interval go for moskito.
> 
> regards
> Leon
> 
> 
> 
> 
> 
> On 2/27/07, H H <[EMAIL PROTECTED]> wrote:
>> Does anyone know whats the best way to monitor a tomcat application
>> remotely - I have seen the mailing lists and there are some tools that
>> provide monitoring. However I need a way to programatically ping Tomcat
>> and collect performance statistics - Any language would do : perl/java, I
>> need to integrate the monitoring to another application. I am looking to
>> collect the foll stats:
>>
>>   - JVM Heap usage
>>   - Number of active threads
>>   - JDBC connection pool stats
>>   - Active thread list
>>   - Hits/Sec (running average)
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------
>> TV dinner still cooling?
>> Check out "Tonight's Picks" on Yahoo! TV.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-monitoring-tf3298623.html#a11214779
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to