[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Checking tomcat metrics in a non-intrusive way
From:       Rainer Jung <rainer.jung () kippdata ! de>
Date:       2008-03-31 19:03:03
Message-ID: 47F13567.5080902 () kippdata ! de
[Download RAW message or body]

> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic