JMX Technology and 'jconsole' Tool

This section describes the JMX API and 'jconsole'. Java application can be monitored with 'jconsole' using out-of-the-box JMX settings when launching the SUN JVM.

"JMX (Java Management Extensions)": A Java standard API for management and monitoring of resources such as applications, devices, services, and the Java virtual machine. The JMX technology was developed through the Java Community Process (JCP) as Java Specification Request (JSR) 3, Java Management Extensions, and JSR 160, JMX Remote API.

JMX has been implemented into JDK since Java 5. You can set out-of-the-box JMX monitoring and management properties when you start the JVM to run your Java application. This allows you to use local or remote JMX connectors to monitor your application.

JDK 5 offers a graphical user interface called "jconsole" that uses the JMX technology to monitor your Java application locally or remotely. The picture below shows you how "jconsole" works with your Java application:
jconsole JMX Local or Remote Connection

Last update: 2015.

Table of Contents

 About This Book

 Java Tools Terminology

 Installing Java 8 on Windows

 'javac' - The Java Program Compiler

 'java' - The Java Program Launcher

 'jdb' - The Java Debugger

'jconsole' - Java Monitoring and Management Console

JMX Technology and 'jconsole' Tool

 'jconsole' Command Options and Connection Window

 '' - JMX Agent for Local Connection

 'jconsole' - Connecting to a Local JMX Agent

 '' - JMX Agent for Remote Connection

 'jconsole' - Connecting to a Remote JMX Agent

 'jstat' - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jvisualvm (Java VisualVM) - JVM Visual Tool

 'jar' - The JAR File Tool

 'javap' - The Java Class File Disassembler

 'keytool' - Public Key Certificate Tool

 'native2ascii' - Native-to-ASCII Encoding Converter

 Outdated Tutorials


 PDF Printing Version