linux-debug 发表于 2018-02-25 | 分类于 linux-debug 1. gdb调试 gdb zsh $(pidof zsh) 2. 打印调用堆栈 gstack $(pidof zsh) 3. 查看进程路径 pidof zsh xargs pwdx