tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wicket0123 <tommyz0...@yahoo.com>
Subject Re: Checking tomcat metrics in a non-intrusive way
Date Wed, 02 Apr 2008 18:35:51 GMT

What is processingTime unit, millisecond?  Is that the sum of all requests
processed?  And, to get the average, I divide that by requestCount?


Rainer Jung-3 wrote:
> 
>> So, I looked at JMX Console and see that under RequestProcessor for
>> Catalina
>> it shows all the HTTP request processor threads.  And, for each, it shows
>> an
>> attribute called "requestProcessingTime" which I think is the time it
>> took
>> to process that request.  So, I was thinking to write a script to query
>> that
>> for each thread.  Then, I thought there maybe something similar at the
>> container level which will tell me overall request processing time for
>> all
>> threads instead of me querying all threads and making calculations.
> 
> GlobalRequestProcessor?
> 
> Name: Catalina:type=GlobalRequestProcessor,name=http-XXXX
> modelerType: org.apache.tomcat.util.modeler.BaseModelMBean
> errorCount: 0
> bytesReceived: 0
> bytesSent: 159763
> processingTime: 3102
> requestCount: 1
> maxTime: 3102
> 
> Regards,
> 
> Rainer
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Checking-tomcat-metrics-in-a-non-intrusive-way-tp16319903p16448073.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message