jmc - JMX Console via MBean Server

This section provides a tutorial example on how to use 'jmc' JMX Console via MBean Server. The dashboard shows live meters of Used Java Heap Memory, JVM CPU Usage, and Live Set + Fragmentation.

To try Java Mission Control, I compiled and ran the Java program,, presented earlier in the book:

herong> javac

herong> java GarbageCollection
Free/total memory:
60130520   62914560
58098920   62914560
56853736   62914560

Now start "jmc" in another command window. I see "GarbageCollection" listed in the JVM Browser panel.

Open it and click its "MBean Server" object. I see the dashboard on the Overview tab in the details panel. It displays 3 live meters:

jmc JMX Console via MBean Server
jmc JMX Console via MBean Server

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

 jdeps - The Java Class Dependency Analyzer

 jdeprscan - The Java Deprecated API Scanner

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 jvisualvm (Java VisualVM) - JVM Visual Tool

jmc - Java Mission Control

 jmc (Java Mission Control) - What Is It

 Launching jmc (Java Mission Control)

jmc - JMX Console via MBean Server

 MBean Browser on jmc JMX Console

 Monitoring Trigers on jmc JMX Console

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

 JAB (Java Access Bridge) for Windows

 Archived Tutorials


 Full Version in PDF/EPUB