Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
sun.tools.jinfo.JInfo - "jinfo" Command
How to run "jinfo" command from JDK tools.jar file?
✍: FYIcenter
"jinfo" command allows you to print out general information
of a given JVM process on your computer system.
"jinfo" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.
You can run the "jinfo" command using the JDK tools.jar file as described below using JDK 8 as an example:
fyicenter> set JDK_HOME=\fyicenter\jdk-1.8.0_191
fyicenter> %JDK_HOME%\bin\java -cp %JDK_HOME%\lib\tools.jar sun.tools.jinfo.JInfo
Usage:
jinfo <option> <pid>
(to connect to a running process)
where <option> is one of:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
-h | -help to print this help message
⇒ sun.tools.jps.Jps - "jps" Command
⇐ sun.tools.jcmd.JCmd - "jcmd" Command
2019-11-21, ∼2397🔥, 0💬
Popular Posts:
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
JRE 8 deploy.jar is the JAR file for JRE 8 Java Control Panel and other deploy tools. JRE (Java Runt...
commons-lang-2.6.jar is the JAR file for Apache Commons Lang 2.6, which provides a host of helper ut...