linux保护某进程不被OOMK:
crontab -e
*/1 * * * * pgrep -f "usr/bin/git" | while read PID;do echo -17 > /proc/$PID/oom_adj;done
linux保护某进程不被OOMK:
*/1 * * * * pgrep -f "usr/bin/git" | while read PID;do echo -17 > /proc/$PID/oom_adj;done
进程间通信方式,命名管道,共享内存。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M