-
1. Re: configuring jboss logs
peterj Aug 27, 2008 2:30 PM (in response to maggu)There is no way to configure the logs to do this, but various JMX MBeans keep this kind of information. A cron job that uses twiddle to grab that data should work (this is basically what Nagios does).
-
2. Re: configuring jboss logs
maggu Aug 28, 2008 3:50 PM (in response to maggu)Peter,
I went through the web console> full status and see memory and thread stats. This should essentially be the same info correct?
Would twiddle show me the same kind of info (I have never used twiddle)?
thanks. -
3. Re: configuring jboss logs
peterj Aug 28, 2008 4:18 PM (in response to maggu)The web console at times will consolidate various pieces of data, but in twiddle you get the raw data from the mbeans. The JBossAS docs have a good explanation of how to use twiddle and even provide several examples.
-
4. Re: configuring jboss logs
maggu Sep 3, 2008 2:08 PM (in response to maggu)Thanks. I was able to go through the documentation and work with twiddle.
Is there a way to get information on individual thread breakdown and their characteristics (eg: idle time), either through twiddle / web console or other Jboss tools? -
5. Re: configuring jboss logs
peterj Sep 3, 2008 6:02 PM (in response to maggu)There is no mbean that will give you information about individual http threads. Here are some mbeans that give information about all of the threads:
jboss.web:type=ThreadPool;name=http-xxx-yyy
jboss.web:type=GlobalRequestProcessor;name=http-xxx-yyy
(where xxx is the IP address and yyy the port)