Wiki source code of Monitoring

Version 1.1 by Vincent Massol on 2010/06/23

Show last authors
1 There are 2 solutions you can use to monitor a running XWiki instance:
2 * [[Use a Profiler>>http://dev.xwiki.org/xwiki/bin/view/Community/Profiling]]. This has the advantage of providing advanced information but has the drawback of being resource intensive and thus slowing the XWiki instance. It also requires a special startupscript
3 * Starting with XWiki Enterprise 2.4M2 we've now started using the [[JMX Technology>>http://en.wikipedia.org/wiki/Java_Management_Extensions]] to provide runtime monitoring of XWiki instances. The following features are currently available:
4 ** Monitor the Velocity macro caches
5 ** Monitor the caches XWiki is using to cache Document data, Users & Groups data and more
6
7 = JMX Console =
8
9 Since JMX is a standard you can use [[any JMX-compatible monitoring console>>http://stackoverflow.com/questions/1744900/what-is-the-best-or-most-commonly-used-jmx-console-client]] (most application servers provide a web-based JMX console). There's also such a console bundled by default in the Java Runtime you're using. To start it, simply execute the ##jconsole## executable.
10
11 Example of JConsole showing the Velocity Cache monitoring:
12
13 image:jconsole1.png
14
15 image:jconsole2.png

Get Connected