I find the manager app useful in this respect. As long as your application invalidates sessions correctly the number of sessions here will be more or less the number of users, allowing for users just closing their window etc and therefore not giving the application a chance to invalidate its session.
Also within the manager app you can click on the server status and this can give you some indication of the number of active connections by the number of active threads. Each thread is detailed here. Check it out and see if it meets your needs. When you restart a tomcat the cluster performs a full synchronisation so most users may not even notice, particularly as they should get shifted over the other member of the cluster when the first goes down. Ta Matt -----Original Message----- From: MITCHELL TEIXEIRA [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 23:15 To: '[EMAIL PROTECTED]' Subject: Measuring current connections, other metrics I'm hoping this is an easily answered question - is there a way with some simple Java or JSP code, or with a pre-built application to tell how many concurrent connections are going on my Tomcat instance? I'm running Tomcat 5.0.19 on Windows2000. I looked at JMeter, but that seems to be a test utility rather than a server management utility. What I'd like to see is something similar to the Windows Performance Monitor. Real-time updates every second or so. THat way when I need to restart Tomcat, I can tell how many peeved users there will be on the next click! :-) Thanks for any help MitchellT --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]