Forum Discussion
Swedeski_89366
Nimbostratus
Nov 03, 2010Java/Tomcat session count from iControl API.
Hello -
I'm working on a deployment process that uses BigIP to drain sessions before stopping processes, etc... We've been able to test that BigIP respects a Java/Tomcat session routing and...
Nov 03, 2010
You'll want to call the get_statistics() method on the virtual server in question. You will want to look at the STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS statistic. An example of how to do this can be found in my "Graceful Server Shutdown" tech tip
http://devcentral.f5.com/Tutorials/...tdown.aspx
In that example, I'm working on a PoolMember, but the logic would be the same for the virtual server. Keep in mind that a virtual server could possibly host multiple applications, so you may really want to target the Pool instead of the VIP...
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