You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hari Venkatesan <hv...@pfgc.com> on 2003/01/06 20:23:06 UTC

Connection Pool

Is there a way to find out the number of active connections in a
connection pool?
 
Hari

Re: Connection Pool

Posted by Nick Stuart <ns...@cs.usm.maine.edu>.
what db are you using? I know in MySQL you can simple do a query such
as:
show processlist
in the mysql client. You can see all the connections that are currently
active. Of course this wont tell you which ones are in use, but you can
kinda figure that out by the amount of time that the thread as been
asleep.
A better way to view this info is with the perl program mytop. works
just like the top command in linux.
Hope this helps.

-Nick

On Mon, 2003-01-06 at 14:23, Hari Venkatesan wrote:
> Is there a way to find out the number of active connections in a
> connection pool?
>  
> Hari

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>