8/17/2009
jstack 堆栈跟踪
jstack命令行工具连接到指定的进程或核心文件,并打印所有连接到虚拟机的线程的堆栈跟踪信息,包括Java 线程和VM 内部线程,有时也包括本地堆栈框架。该工具还执行死锁检测。
用法:jstack [option] pid
参数(Options):
-F Force a stack dump when 'jstack [-l] pid' does not respond.
-l Long listing. Prints additional information about locks.
-m prints mixed mode (both Java and native C/C++ frames) stack trace.
-h prints a help message.
-help prints a help message
Reference: http://java.sun.com/javase/6/docs/technotes/tools/share/jstack.html