1.

  根据进程名称查询进程ID

  ps -ef | grep processName

2.

  将进程的堆栈信息写入log

  gstack processId > s.log

3.

  查看log
  vim s.log

Linux 下查看某个进程运行的堆栈信息

 

相关文章:

  • 2021-09-25
  • 2021-07-22
  • 2021-06-25
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-24
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案