linux下进程突然断掉后的日志查询

原文地址::https://blog.csdn.net/weixin_30338497/article/details/97729399

相关文章

1、Linux下打开core文件,定位segfault----http://blog.chinaunix.net/uid-24774106-id-344195.html

2、linux命令dmesg查看进程被杀死原因----https://blog.csdn.net/weixin_33868027/article/details/85969882?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control

3、Linux下应用进程消失原因分析----https://blog.csdn.net/green1893/article/details/78192017?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.control

4、linux 程序被Killed,如何精准查看日志----https://blog.csdn.net/shuihupo/article/details/80905641?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.control

5、dmesg排查消失的进程----https://blog.csdn.net/tterminator/article/details/78177945?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-5.control

 

最近写了一个实现监控的服务,可某天去看的时候进程突然木有了,这就捉急了,好好的是啥原因了呢?不会有人不小心把偶的进程关掉了把!

后发现一个linux日志文件:/var/log/messages

 

打开文件查找进程标志(libRTICServer)发现:

May 28 10:11:12 mysql-slave kernel: libRTICServer[14135]: segfault at 7fb75e303000 ip 0000003a3a489d13 sp 00007fb7812beac8 error 6 in libc-2.12.so[3a3a400000+18a000]

 

那么问题来了?段错误,么子原因引起的?

以下貌似有篇文章能做到,没有试过,使用需谨慎!

http://blog.chinaunix.net/uid-24774106-id-344195.html

 

转载于:https://www.cnblogs.com/cnjy/p/4536195.html

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值