安装 pstack

RedHat公司发行的Linux操作系统(RHELCentOS等等)也提供了pstack工具,只要安装gdb

  1. # yum install gdb

就会把pstack也一并安装成功。

gdb 经典文档