JAVA Thread Dumps Trilogy

Source: Internet
Author: User

First, the Windows environment method

1:cmd find the PID running the server container

Jps-v

Cases:

C:\users\administrator>jps-v
4856 Bootstrap-djdk.tls.ephemeraldhkeysize=2048-djava.util.logging.config.file
=d:\soft\apache-tomcat-7.0.69\conf\logging.properties-djava.util.logging.manage
R=org.apache.juli.classloaderlogmanager-djava.endorsed.dirs=d:\soft\apache-tomc
At-7.0.69\endorsed-dcatalina.base=d:\soft\apache-tomcat-7.0.69-dcatalina.home=
D:\soft\apache-tomcat-7.0.69-djava.io.tmpdir=d:\soft\apache-tomcat-7.0.69\temp
2896-xmx768m-xx:maxpermsize=320m-xx:reservedcodecachesize=64m-dosgi.nls.war
Nings=ignore
4136 jps-denv.class.path=.; C:\Program Files\java\jdk1.7.0_80\lib\dt.jar; C:\Prog
Ram Files\java\jdk1.7.0_80\lib\tools.jar; -dapplication.home=c:\program Files\ja
Va\jdk1.7.0_80-xms8m

2: Enter information into the log

Jstack-l 4856 >stack.out

The above found PID is 4856.

3: Run IBM Thread and Monitor Dump Analyzer for Java analysis

IBM Thread and Monitor Dump Analyzer for Java

JAVA Thread Dumps Trilogy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.