如何进行再linux 下查看 java程序的堆栈信息

1. top  

2. 找到 top 中 消耗Cup 最多的pid  

3.top  -Hp 最大的 Pid  查看 该进程中  的 任务 。

4. 使用 printf "%X "  pid  转换成  16 进制数 

5. jstack     Pid  |  grep    -30      16进制数   

原文地址:https://www.cnblogs.com/yuruyi/p/10941004.html