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 " 3046
4、jstack -l 3046
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 " 3046
4、jstack -l 3046