JCMD

JCMD

Supports Java by sending diagnostic commands to running JVMs for troubleshooting, monitoring, and performance analysis.

Category
Runtime
License
Platforms
Released
2011
Path
c:\jcmd\jcmd.exe
Benefits
Combines features from earlier tools like jps, jmap, jstack, jinfo, and jstat
Notes
Dakota Clum from xByte spoke about this during his morning session. Anaylze using FastThread.io
Version
Latest known: 24.0.2.0 (2025-07-24)

Examples

1. List java processes to identify PID

c:\Program Files\Java\jdk-24\bin\jcmd.exe

2. List possible options available (based on PID)

c:\Program Files\Java\jdk-24\bin\jcmd.exe 17088 help

3. List all VM arguments used, either given by us or used default by JVM

c:\Program Files\Java\jdk-24\bin\jcmd.exe 17088 VM.flags

Try it

Agree to terms to run demos.