设为首页收藏本站

 找回密码
 注册论坛

QQ登录

只需一步,快速开始

用百度帐号登录

只需两步,快速登录

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 595|回复: 0

Linux下简单通过dmesg抓包搜索被系统内核因为物理内存不足杀死进程的日志记录

[复制链接]

签到天数: 2847 天

[LV.Master]伴坛终老

 成长值: 23990
发表于 2019/1/29 23:53 | 显示全部楼层 |阅读模式 |Google Chrome 71.0.3578.98|Windows 10
天涯海角搜一下: 百度 谷歌 360 搜狗 有道 雅虎 必应 即刻
  1. dmesg | grep 'killed process'
复制代码


输出例如
[899645.642211] Out of memory in UB 1090: OOM killed process 22746 (kangle) score 0 vm:964244kB, rss:462320kB, swap:146824kB
[1000516.597358] Out of memory in UB 1090: OOM killed process 30476 (kangle) score 0 vm:964244kB, rss:456916kB, swap:151772kB
[1086130.314772] Out of memory in UB 1090: OOM killed process 3588 (kangle) score 0 vm:833172kB, rss:467888kB, swap:141332kB
[1086135.320878] Out of memory in UB 1090: OOM killed process 587 (transmission-da) score 0 vm:322820kB, rss:6556kB, swap:9156kB
[1210371.902115] Out of memory in UB 1090: OOM killed process 16870 (kangle) score 0 vm:964248kB, rss:466188kB, swap:146176kB
[1356648.237245] Out of memory in UB 1090: OOM killed process 11381 (kangle) score 0 vm:964244kB, rss:449100kB, swap:148264kB
[1356653.242627] Out of memory in UB 1090: OOM killed process 10884 (CmsGoAgent.linu) score 0 vm:750004kB, rss:7852kB, swap:600kB
[1356653.247906] Out of memory in UB 1090: OOM killed process 9604 (cdnbest) score 0 vm:738160kB, rss:7072kB, swap:1124kB
[1474145.197776] Out of memory in UB 1090: OOM killed process 6111 (kangle) score 0 vm:954000kB, rss:461560kB, swap:148020kB


[发帖际遇]: 小樱 发帖时在路边捡到 5 樱币,偷偷放进了口袋. 幸运榜 / 衰神榜
欢迎光临IT技术交流论坛:http://bbs.itzmx.com/
回复

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 注册论坛 用百度帐号登录新浪微博账号登陆

本版积分规则

手机版|Archiver|Mail me|网站地图|IT技术交流论坛 ( 闽ICP备13013206号-7 )

GMT+8, 2019/10/20 15:33 , Processed in 2.740848 second(s), 32 queries , Gzip On, Memcache On.

Powered by itzmx!

© 2011-2019 sakura

快速回复 返回顶部 返回列表