jcmd
Learn jcmd (JVM Performance, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
6. Basic Concepts What is jcmd? jcmd is the modern, unified command-line tool for sending diagnostic commands to a running JVM. Instead of needing separate tools like jstack , jmap , and jinfo , jcmd provides one consistent interface that can do everything those older tools do, plus more - and it's the tool the JVM team actively adds new capabilities to first.