Forum Discussion
patrickmamaid_1
Nimbostratus
Dec 05, 2008number of tcp connections on a pool member
Does anyone know how to get the number of tcp connections on a pool member using iControl in java?
i'm lost in the API trying to find out
Dec 06, 2008
use LocalLB.PoolMember.get_statistics() for the given pool member and look through the returned statistics for the STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS statistic.
I wrote a tech tip on graceful server shutdowns that query the current connections for a specific pool member. It's written in PowerShell but you should be able to extract the logic for use in Java.
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=254
Click here
Look for the Disable-Member code snippet.
Hope this helps...
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
