Danny's profile季节的水滴PhotosBlogListsMore Tools Help

Blog


    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

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://think4v.spaces.live.com/blog/cns!B7E9CA656247B821!971.trak
    Weblogs that reference this entry
    • None