Monitor/List Apache Active Connections : Websphere JVM Connections
1. If you configure Apache for mod_status you can view how many connections are open, the bandwidth being used, and a bunch of other neat statistics.
Example http://httpd.apache.org/server-status
2. If you’re using Apache2, then apache-top would be useful as it’s interactive and would obviously update in real time:
Example : http://www.fr3nd.net/projects/apache-top/
3. To see number of IP connections and IPs connected to port 80, use the following command.
$netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -nk 1
$ netstat -plan|grep :80 | wc -l (Number of connections on http port 80)
17$ netstat -plan|grep :9080 | wc -l (Number of connections on JVM port 9080)
10Same command could be used to locate connections on any TCP port
Leave a Reply
You must be logged in to post a comment.