Hi TG,

assuming you are using a sun 1.6 jdk to run tomcat:

http://download.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html
http://download.oracle.com/javase/tutorial/jmx/index.html
http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html

jmx (Java Management Extensions) is most likely what you are looking for.
Have a look at this jconsole program to get an idea (first link).

Hint: If you're under linux use a computer with one network card and make
sure that this machine's hostname resolves to its public ip, not 127.0.0.1 -
this will get you started faster


Best Regards,

Martin


On Fri, Sep 10, 2010 at 10:04 PM, Tarun Gupta <
tarun.gu...@digitalmountain.com> wrote:

> Hello,
>
>
>
> Does anyone know what's the best way to monitor a tomcat application
> remotely?  I need a way to programmatically ping Tomcat and collect
> performance statistics - Any language would do: perl/java, I need to
> integrate the monitoring to another application. I am looking to collect
> the
> following stats:
>
>  - JVM Heap usage
>
 - Number of active threads
>
 - JDBC connection pool stats
>
 - Active thread list
>  - Hits/Sec (running average)
>
>
>
>
>
> Thanks,
>
> TG
>
>

Reply via email to