1、top找出耗时pid进程或ps -ef |grep xxx 找出pid
2、ps p 3036 -L -o pcpu,pid,tid,time,tname,cmd 3036为pid
3、printf "%x\n" 3046
4、jstack -l 3046