About the JMX Console
Description: The JMX Console makes it possible to monitor and control running instances of the Java Virtual Machine (JVM) and the application running on it.

Go to primary content

| Previous | Next |

# 5 About the JMX Console

The JMX Console makes it possible to monitor and control running instances of the Java Virtual Machine (JVM) and the application running on it.

The JMX Console provides real-time information about the Java application's characteristics, such as memory and CPU usage, and JVM activities, such as garbage collection and method optimizations. This information can be used both during development (for example, to find where in an application's life cycle it consumes more memory), and in a deployed environment (for example, to monitor the system health of an application server).

The JMX Console provides a multi-tabbed interface. Each tab lets you monitor and manage an aspect of the JVM or the application running on it. The set of available tabs depends on the plug-ins you have installed. For more information, see Using the JMX Console.

The Java platform has a technically advanced design for monitoring and managing performance, resource consumption, and logging settings of applications. JDK Mission Control uses the Java Management Extensions (JMX) interface for monitoring and managing resources of the JVM and Java applications.

Like the Simple Network Management Protocol (SNMP) and other management standards, the JMX is a public specification and many vendors of commonly used monitoring products support it. JMX provides a standard way to monitor the Java Runtime Environment (JRE) and applications. The JMX Remote Method Invocation (JMXRMI) API allows that monitoring to be accessed remotely. The tools are accessible through the JMX Managed Bean (MBean) interfaces, which are registered in the management server. Applications can also create their own MBeans and register them in the management server, which can serve as a single point for remote access. A JMX-compliant client, such as the JMX Console, can connect to the platform management server and manage both the Java application and the JVM using JMX technology. For a complete reference on the JMX standard, see the Java Management Extensions API.

The extra cost of running the JMX Console to monitor a JVM is small and can almost be disregarded. It provides low-cost monitoring and profiling of your application.

Note:

If you run the JMX Console on the same computer as the JVM, the JMX Console GUI will consume the resources which could otherwise be used by applications running on the JVM. This can lead to incorrect analysis, if you assume that the applications are supposed to run without the JMX Console.

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Previous | Next |