注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 Exchange服务器系列课程之..
 帮助

multi-process debug under Linux


2008-01-25 13:31:54
1> follow-fork-mode
usage: set follow-fork-mode
precondition: kernel version > 2.5.60

2> attach sub-process
ps -ef | grep yourprocess

3> GDB wrapper

the bin file:  test
# mv test test.bin
# cat > test
#!/bin/sh
export DISPLAY=yourIP:0.0;
xterm -e gdb tet.bin
^D
#





上一篇 iso file  下一篇 nohup and   noninteractive ftp



    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: