
今天一抽把 netstat -plnt|grep 8081 和 kill pid 变成了一个 kill 8081,没有出现万事大吉的 no such process ,然后 mongodb 挂掉无法启动了...
我怎么才能知道我杀了谁?
1 skylancer 2019 年 6 月 13 日 在没开审计的情况下好像没办法 |
2 yidinghe 2019 年 6 月 13 日 https://stackoverflow.com/questions/726690/what-killed-my-process-and-why Try: dmesg -T| grep -E -i -B100 'killed process' Where -B100 signifies the number of lines before the kill happened. Omit -T on Mac OS. |
3 wwg1994 2019 年 6 月 13 日 等一个大佬 坐等涨姿势 |
4 jiangxinlingdu 2019 年 6 月 13 日 围观…… |
5 sparkssssssss 2019 年 6 月 13 日 围观下. |
6 winterfell30 2019 年 6 月 13 日 围观 |
7 harde 2019 年 6 月 13 日 reboot |
8 Cooky 2019 年 6 月 13 日 via Android 先看看 mongodb 报啥错呗 |
9 263 2019 年 6 月 13 日 这个多半就是 kill 掉了 mongodb 的进程,然后 pid 文件还存在,启动的时候 pid 文件冲突,导致无法启动。 |
10 dfourc 2019 年 6 月 13 日 坐下 |
11 jsnjfz 2019 年 6 月 13 日 history 看看操作历史? |
12 xiulu 2019 年 6 月 13 日 @yidinghe 普通用户 kill 掉的进程,如果没做特殊的配置,是不会被系统记录的 https://unix.stackexchange.com/questions/168797/logging-of-what-ended-a-process |
13 zycpp 2019 年 6 月 13 日 via iPhone 老哥稳嗷~真就敢随便 kill 进程嗷~ |