My Oracle Support Banner

[Java SE] Diagnosing a Running Java Virtual Machine (JVM) Using jcmd Command (Doc ID 3015396.1)

Last updated on MAY 02, 2024

Applies to:

Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.


 To understand the usage of the jcmd command for troubleshooting JVM. This covers the top use cases of jcmd. 




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 jcmd Commands
 1. Virtual Machine (VM)
 2. Garbage Collection (GC)
 3. Threads
 4. Java Flight Recording (JFR)

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.