Forum Discussion
get actual connection count by an irule
Hi, I dont think there is any other way to do this than a global TMM variable.
What do you mean by a session? You mean a TCP connection?
Assuming you mean TCP connection by "session", then in your irule you would init the RULE_INIT event. IN that rule you would init a global variable such as $TOTAL_CONN_CNT. Then you would create the CLIENT_ACCEPTED event and increment/decrement the TOTAL_CONN_CNT based on the creation and destruction of the TCP connections handled by the irule.
You can do it this way, or you can not do it at all
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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