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.jstack.JStack - "jstack" Command
How to run "jstack" command from JDK tools.jar file?
✍: FYIcenter
"jstack" command allows you to prints stack traces of Java threads for a given JVM process on your computer system.
"stack" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.
You can run the "jstack" 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.jstack.JStack
Usage:
jstack [-l] <pid>
(to connect to running process)
Options:
-l long listing. Prints additional information about locks
-h or -help to print this help message
⇒ sun.tools.jstatd.Jstatd - "jstatd" Command
⇐ sun.tools.jmap.JMap - "jmap" Command
2019-11-21, ∼3302🔥, 0💬
Popular Posts:
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...