You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by wicket0123 <to...@yahoo.com> on 2008/04/02 20:35:51 UTC

Re: Checking tomcat metrics in a non-intrusive way

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