You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rujin raj <ru...@gmail.com> on 2010/11/25 07:16:56 UTC

No of sessions,current thread count and thread busy Logs in tomcat

I am Monitoring the tomcat application ,no. of session ,Current thread count
and current thread busy using lambda probe.
Is there any way to save these these datas in local machine for future
reference for specfic interval.

--rujin

Re: No of sessions,current thread count and thread busy Logs in tomcat

Posted by André Warnier <aw...@ice-sa.com>.
rujin raj wrote:
> I am Monitoring the tomcat application ,no. of session ,Current thread count
> and current thread busy using lambda probe.
> Is there any way to save these these datas in local machine for future
> reference for specfic interval.
> 
I am sure that you will get more pure-Java tips today for that purpose, but in the 
meantime you could have a look at these :

1) via perl script :

http://cpan.uwinnipeg.ca/htdocs/jmx4perl/JMX/Jmx4Perl.html

(has nice and simple examples and docs)

2) via shell script :

http://code.google.com/p/jmxsh/


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


Re: No of sessions,current thread count and thread busy Logs in tomcat

Posted by Mark Thomas <ma...@apache.org>.
On 25/11/2010 06:16, rujin raj wrote:
> I am Monitoring the tomcat application ,no. of session ,Current thread count
> and current thread busy using lambda probe.
> Is there any way to save these these datas in local machine for future
> reference for specfic interval.

Not in Tomcat nor, to the best of my knowledge, in Lambda probe.

You'd need to write some custom code. You can get the data directly via
JMX or using HTTP and the JMX proxy (part of the Manager app). Whichever
you use, be sure to secure it.

Mark

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