ThreadCount values on jboss 6 differ between jboss-cli and jolokia

classic Classic list List threaded Threaded
2 messages Options
woldra woldra
Reply | Threaded
Open this post in threaded view
|

ThreadCount values on jboss 6 differ between jboss-cli and jolokia

Hi there,
I try to replace some monitoring scripts that make use of jboss-cli with jolokia.
The values for ThreadCount differ by 5 most of the time. PeakThreadCount is the same though. Any ideas?

Thanks, Wolfgang
roland roland
Reply | Threaded
Open this post in threaded view
|

Re: ThreadCount values on jboss 6 differ between jboss-cli and jolokia

I dont know JBoss 6 good enough to tell how it calculates the thread count via its CLI. If it does it only via JMX then the number should be the same. But it could be also the JBoss filters out e.g. daemon threads.

What you see with Jolokia is the number which is exposed by the JVM via JMX. Jolokia itself doesn't has any influence on this number as it is agnostic to any JMX metrics and only helps in accessing it.

regards ...
... roland