jdk.jstatd/sun.tools.jstatd.Jstatd - "jstatd" Command

Q

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

✍: FYIcenter

A

"jstatd" command allows you to run the JVM Statistics Monitoring Deamon on your computer system.

"jstatd" command is supported by the jmods\jdk.jstatd.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.

You can run the "jstatd" command using the lib\modules JImage file as described below using JDK 11 as an example:

C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1

C:\fyicenter>%JDK_HOME%\bin\java --module jdk.jstatd/sun.tools.jstatd.Jstatd -h

usage: jstatd [-nr] [-p port] [-n rminame]

 

jdk.rmic/sun.rmi.rmic.Main - "rmic" Command

jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider - "jshell" Command

Tools Supported from JDK 9+ lib\modules JImage

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-11, 236👍, 0💬