[jboss-user] [Beginners Corner] - Re: How to reliably count active sessions (re-post)
do-not-reply at jboss.com
Thu Aug 21 10:58:21 EDT 2008
All of this information is available through JMX. If you want that information in a file (presumably to feed it into a monitoring system) there are a few JMX command line tools. Failing that you can also use curl or wget to query the JBoss console. Crude, but effective.
Suggested course of action:
1. Hook up jconsole to JBoss (as per http://wiki.jboss.org/wiki/UseJDK5JConsole).
2. Determine the objectname and the attribute of the mbean that shows the sessions you want to track.
3. find a JMX command line tool (as per http://www.google.com)
4. Script away
Hope this helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171797#4171797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171797
More information about the jboss-user