tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Lazic <al-tomcatu...@none.at>
Subject Repost (was: Re: Q: about status gathering per Request/Connector)
Date Tue, 05 Sep 2006 20:38:17 GMT
Hi,

please can anybody say if I'am on the right way.

Thanks

Alex

On Mon 21.08.2006 19:04, Alexander Lazic wrote:
>Hi,
>
>a colleague have add a new thread in the Ajp13Connector &&
>Ajp13Processor to gather some stats:
>
>
>(Runtime.getRuntime().freeMemory() >> 10) + " VMfree " +
>(Runtime.getRuntime().totalMemory() >> 10) + " VMalloc " + 
>threadGroup.activeCount() + " curthreads " + 
>processors.size() + " idleprocesses " + 
>curProcessors + " currentprocesses " + 
>requestStarted + " reqstart " + 
>requestDone + " reqdone " + 
>requestRunning + " activereq " + 
>requestPeak + " reqpeak " + 
>rejectedCount + " reqrejected\n";
>
>There are also some methods to incremet/reset this counter ;-)
>
>If we now want to switch to the CoyoteConnector what is the *cleanest*
>way to get this stats further?!
>
>I have thought to extend the protocolhandler but i'am not sure if this
>is the cleanest way ;-)
>
>Please can anybody help  ;-)
>
>Regards
>
>Alex
>
>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
>

---------------------------------------------------------------------
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