Re: monitoring performance

2005-06-17 Thread Peter Lin
you can easily setup JMeter to monitor tomcat and save the results to a log. 

peter lin


On 6/17/05, Hossein S. Attar [EMAIL PROTECTED] wrote:
 Hi:
 
 Is it possible to instruemnt Tomcat to collect statistics such as
 averasge response time (for each servlet), etc and then somehow get
 these statistics programatically (e.g., using an API). I'm trying to
 write a program that needs to get such statistics,  therefore monitoring
 tools that report
 the statistics graphically are not suitable for me.
 
 Thanks,
 Hossein
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: monitoring performance

2005-06-17 Thread Hossein S. Attar
Thanks for the reply. I set up JMeter using an example from the JMeter site
(http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html) .
Apparently JMeter uses manager/status and shows only load, # of threads,
and memory used. Is it possible to make it measure average response time
(both total average response time and per-servlet average response time)?

Thanks,
Hossein

 -Original Message-
 From: Peter Lin [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 17, 2005 5:18 PM
 To: Tomcat Users List
 Subject: Re: monitoring performance
 
 you can easily setup JMeter to monitor tomcat and save the results to a
 log.
 
 peter lin
 
 
 On 6/17/05, Hossein S. Attar [EMAIL PROTECTED] wrote:
  Hi:
 
  Is it possible to instruemnt Tomcat to collect statistics such as
  averasge response time (for each servlet), etc and then somehow get
  these statistics programatically (e.g., using an API). I'm trying to
  write a program that needs to get such statistics,  therefore monitoring
  tools that report
  the statistics graphically are not suitable for me.
 
  Thanks,
  Hossein
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Monitoring Performance Tomcat 5.0.28

2004-12-31 Thread Peter Lin
you could use jmeter's tomcat5 monitor. there's a coupl of commercial
tools out there that can monitor your production servers.

peter



On Thu, 30 Dec 2004 23:27:05 -0800, Hari Mailvaganam [EMAIL PROTECTED] wrote:
 Hi:
 
 What would be the best way to monitor the performance of Tomcat -
 while in production?
 
 Apache HTTP server has an option that can view threads etc of a
 production web server.
 
 Does Tomcat have anything equivalent?
 
 On a separate note are there any kind of benchmarks on performance of
 Tomcat available online - i.e throughput, response times? It can be a
 challenge finding benchmarks that fits ones criterias  - as there are
 a huge number of variables to consider. I was hoping to find one which
 had a study the base parameters.
 
 Have a Happy and Peaceful 2005.
 
 regards,
 
 Hari Mailvaganam
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Monitoring Performance Tomcat 5.0.28

2004-12-31 Thread Jukka Uusisalo
Hari Mailvaganam wrote:
Hi:
What would be the best way to monitor the performance of Tomcat -
while in production?
I have used /manager application and JMeter. Not in production but
during performace tests and development servers. I am not sure is this 
best way but for my purpose it is pretty ok.

I do not have checked but it would nice to get this kind of information 
via JMX and MBeans. Is this possible?

- Jukka -
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Monitoring Performance Tomcat 5.0.28

2004-12-31 Thread Peter Lin
The jakarta JMeter monitor sends requests to Tomcat's status servlet
and uses the stats there to generate a performance graph. You can
monitor multiple servers with jmeter.

If you use a third party tool, it will have lots of other features,
but it most likely will not be able to utilize the stats the status
servlet displays. the tomcat monitor I wrote specifically takes
advantage of the status servlet to show performance. just go to
jmeter's page and you'll see.

peter


On Fri, 31 Dec 2004 15:32:36 +0200, Jukka Uusisalo
[EMAIL PROTECTED] wrote:
 Hari Mailvaganam wrote:
  Hi:
 
  What would be the best way to monitor the performance of Tomcat -
  while in production?
 
 
 I have used /manager application and JMeter. Not in production but
 during performace tests and development servers. I am not sure is this
 best way but for my purpose it is pretty ok.
 
 I do not have checked but it would nice to get this kind of information
 via JMX and MBeans. Is this possible?
 
 - Jukka -
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]