I need to monitor the number of existing connections made by Apache to the different instances of JBoss in my *NIX server. How do I do that? If that tool or method gives me more info that would be great.
It sounds like you might be looking for a way to see all the outbound AJP connections from the Apache side. But if it helps, you can monitor this on the JBoss side instead. For example, the "scoreboard" view at
If you want to do it via scripting, you could use
This would output:
supposing you are using mod_jk have a look at the status worker: http://tomcat.apache.org/connectors-doc/reference/status.html