1.
根据进程名称查询进程ID
ps -ef | grep processName
2.
将进程的堆栈信息写入log
gstack processId > s.log
3.
查看log vim s.log