1,top查看占cpu的进程PID
2,查看占CPU的线程,top -Hp 96211.PID列就是线程ID
3,线程ID转为16进制,printf "%x\n" 96127 (= 1777f)
4,查看线程中耗CPU的代码,jstack 96211|grep 1777f -A 10