the manager app can tell you how many active sessions there are:
/manager/list
You have to enable the manager context and set up a user for it.
I don't think there is a graceful shutdown as you are asking for.
Charlie
> -----Original Message-----
> From: Cato, Christopher [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 14, 2001 7:31 AM
> To: 'Tomcat Users List'
> Subject: How can I see how many visitors we have right now?
>
>
> Is it possible to see how many active sessions there are at a
> given moment?
>
> If so, has anyone implemented a "safe" shutdown procedure for a TomCat
> server?
> What I need is a mechanism that allows me to deny future
> requests for the
> app
> but allow the visitors that are active to finish their
> business and THEN
> shutdown
> instead of killing the server while users are still on it.
>
> Ideas?
>
> /Christopher Cato
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>