Linux 下查看某个进程运行的堆栈信息时间:2023-03-08 23:49:28 1. 根据进程名称查询进程ID ps -ef | grep processName 2. 将进程的堆栈信息写入log gstack processId > s.log 3. 查看log vim s.log