Title: acive session count?

I need to get a count of the number of active sessions in an instance of Tomcat.

Was hoping it could be a flag (Tomcat -getSessionCount) or the like, so I've been looking at adding a getSessionCount() method from the StandardManager, through to Tomcat... But I need to get the ContextManager for the running instance. And that isn't stored as a static.

Is this info available through other avenues? Any solutions/ Pointers in the right direction?

Thanks,
mk


 

Reply via email to