[jboss-user] [Performance Tuning] - Re: is there a way to create logging for connection used from the pool and availble connection in the pool rather then console monitoring

Wolf-Dieter Fink do-not-reply at jboss.com
Thu Jun 21 06:28:49 EDT 2012


Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: is there a way to create logging for connection used from the pool and availble connection in the pool rather then console monitoring"

To view the discussion, visit: https://community.jboss.org/message/743319#743319

--------------------------------------------------------------
I think you mean to have a statistic how the pool is used, right?

I do something like that with cron:
+bin/twiddle.sh -s localhost:1099 get "jboss.jca:service=ManagedConnectionPool,name=DefaultDataSource" MaxSize MaxConnectionsInUseCount+

You can get the attributes you want and write it to a logfile.
If you want more you may interested in JON (JBoss Operation Network).
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/743319#743319]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120621/3431a0f1/attachment-0001.html 


More information about the jboss-user mailing list