Linux中ulimit -c生成core文件()

理解这六个shell脚本语言的功能

echo “kernel.core_pattern = /tmp/core-%e-%p-%t” >> /etc/sysctl.conf
sysctl -p /etc/sysctl.conf
echo “ulimit -c unlimited”>>/etc/profile
ulimit -c unlimited
kill -9 ps -ef | grep remote_server.py | grep -v grep| awk '{print $2}'
nohup python remote_server.py &

https://blog.csdn.net/test1280/article/details/73655994讲解了第四句的功能

posted @ 2019-03-05 09:24  南邮吴亦凡  阅读(2085)  评论(1)    收藏  举报