jstack和kill -3的一个区别

jstack打印出的栈直接显示在当前shell窗口,可以通过管道放到某个文件里

而kill -3只会把栈打印到目标进程所在的shell窗口控制台

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.