原文地址::https://blog.csdn.net/weixin_30338497/article/details/97729399
相关文章
1、Linux下打开core文件,定位segfault----http://blog.chinaunix.net/uid-24774106-id-344195.html
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
最近写了一个实现监控的服务,可某天去看的时候进程突然木有了,这就捉急了,好好的是啥原因了呢?不会有人不小心把偶的进程关掉了把!
后发现一个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