标签:ram jdk1.7 tar nal sed manage msi org logging
一、windows环境下方法
1:cmd下找到运行服务器容器的PID
jps -v
例:
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:输入信息到日志
jstack -l 4856 >stack.out
上述找到PID为4856.
3:运行IBM Thread and Monitor Dump Analyzer for Java分析
IBM Thread and Monitor Dump Analyzer for Java
标签:ram jdk1.7 tar nal sed manage msi org logging
原文地址:http://www.cnblogs.com/seely/p/6272992.html