You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Hossein S. Attar" <mh...@uwaterloo.ca> on 2005/06/17 23:12:00 UTC

monitoring performance

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: monitoring performance

Posted by "Hossein S. Attar" <mh...@uwaterloo.ca>.
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:woolfel@gmail.com]
> 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 <mh...@uwaterloo.ca> 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: monitoring performance

Posted by Peter Lin <wo...@gmail.com>.
you can easily setup JMeter to monitor tomcat and save the results to a log. 

peter lin


On 6/17/05, Hossein S. Attar <mh...@uwaterloo.ca> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org