dcsimg
How to know Number of Connections currently open
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rony_Zacharia
Posted On:   Tuesday, July 29, 2003 03:31 AM

I have a web application. In one of the administration page I have to show the number of connections currently opened to the database. We are not using any connection pooling software. THe platform is Tomcat 4.0 and JDK 1.3/1.4
How could I achieve this?

Re: How to know Number of Connections currently open

Posted By:   Steven_Martin  
Posted On:   Tuesday, July 29, 2003 06:21 AM

What database are you using? That may require a utility call to the database software. In the simple case in our database connection wrapper have a counter that watches for opening and closing of connections.
About | Sitemap | Contact