jdk.jconsole/sun.tools.jconsole.JConsole - "jconsole" Command

Q

How to run "jconsole" command from JDK lib\modules JImage file?

✍: FYIcenter

A

"jconsole" command allows you to list all running JVM processes on your computer system and interact with them.

"jconsole" command is supported by the jmods\jdk.jconsole.jmod module file, which is also linked into the lib\modules JImage file in.

You can run the "jconsole" command using the lib\modules JImage file as described below:

fyicenter> %JDK_HOME%\bin\java --module jdk.jconsole/sun.tools.jconsole.JConsole

You see the "Java Monitoring & Management Console" screen.

 

jdk.jdeps/com.sun.tools.javap.Main - "javap" Command

jdk.jcmd/sun.tools.jstat.Jstat - "jstat" Command

Tools Supported from JDK 9+ lib\modules JImage

⇑⇑ FAQ for JDK (Java Development Kit)

2020-01-29, 1177👍, 0💬