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

Q

How to run "jstatd" command from JDK tools.jar file?

✍: FYIcenter

A

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

"jstatd" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.

You can run the "jstatd" command using the JDK tools.jar file as described below using JDK 8 as an example:

C:\fyicenter>set JDK_HOME=\fyicenter\jdk-1.8.0_191

C:\fyicenter>%JDK_HOME%\bin\java -cp %JDK_HOME%\lib\tools.jar sun.tools.jstatd.Jstatd -h

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

 

sun.tools.jstat.Jstat - "jstat" Command

sun.tools.jstack.JStack - "jstack" Command

Tools Supported from JDK 8- JAR Files

⇑⇑ FAQ for JDK (Java Development Kit)

2019-11-08, 284👍, 0💬