Dear Paul,
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
5. ???
6. Profit!
Hope this helps.
--
Kees Jan
http://java-monitor.com/forum
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171797#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...