jcmd - The JVM Diagnostic Tool

This chapter provides tutorial notes on 'jcmd', the JVM Diagnostic Tool. Topics include list of local JVMs; list of diagnostic commands; running VM.* commands; running GC.* commands; generating heap dump and thread dump.

jcmd - JVM Diagnostic Tool Command

"jcmd 0 help" - Listing JVM Diagnostic Commands

"jcmd 0 VM.*" - Running VM Diagnostic Commands

"jcmd 0 GC.*" - Running GC Diagnostic Commands

"jcmd 0 Thread.print" - Generating Thread Dump

Conclusions:

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 java - The Java Program Launcher

 jdb - The Java Debugger

jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

 jarsigner - JAR File Signer

 jshell - Java Language Shell

 native2ascii - Native-to-ASCII Encoding Converter

 Outdated Tutorials

 References

 Full Version in PDF/EPUB