AIX下如何跟踪某个进程

20 views
Skip to first unread message

lo.yu.linux

unread,
Feb 27, 2013, 6:24:02 AM2/27/13
to sh...@googlegroups.com
在两台AIX上分别部署了Nagios监控,客户端是用NRPE的方式与服务器进行数据交互的。
问题是一台AIX上,nrpe进程总是运行若干天后异常退出,系统日志没有任何记录;而另一台则没有任何问题。
所以相问下各位,AIX平台下有没有可以一直跟踪某个进程,将其生命周期内的所有系统调用、信号等记录并保存下来的方法或工具?

--
lilo1989.com

Úcarenya

unread,
Feb 27, 2013, 9:23:47 PM2/27/13
to sh...@googlegroups.com

不知是否够用:

truss -o output -p PID
> --
> -- You received this message because you are subscribed to the Google Groups
> Shanghai Linux User Group group. To post to this group, send email to
> sh...@googlegroups.com. To unsubscribe from this group, send email to
> shlug+un...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到
> shlug+un...@googlegroups.com
> 要查看更多选项,请访问 https://groups.google.com/groups/opt_out
>

--
- Úcarenya - infernoxu at gmail dot com
- http://ucarenya.com/
Reply all
Reply to author
Forward
0 new messages