Skip to content

Remote Monitoring

Andreas Kunft edited this page May 28, 2014 · 2 revisions

This is a short introduction into remote debugging with JConsole.

JVM Parameters

To enable a remote monitoring connection to a JVM, it is necessary to set some command-line arguments. In our case we start each JVM with the following parameters:

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

Use JConsole

JConsole is always installed with each distribution of the Java JDK. Thus, you can start this application by typing jconsole into your console. After the application has opened, follow this steps:

  1. Go to Connection
  2. Select New Connection...
  3. Choose Remote Process and enter the connection to the wally node you want to monitor into the according field, e.g. wally001.cit.tu-berlin.de:9010

Now you can monitor CPU load, memory usage, number of threads and more.

Clone this wiki locally