(1)使用pstack

(2)调试core文件

  1. # gdb ./segment core  

(3)使用strace


strace -tt -f -s 1234 -o /tmp/strace.cwc -p pidnum

相关文章: