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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to