配dump文件

ulimit -c unlimited

echo 'ulimit -c unlimited' >>/etc/profile


2. core 文件
    * 开启或关闭core文件的生成
ulimit -c 可以查看是否打开此选项,若为0则为关闭;
ulimit -c 0可手动关闭
ulimit -c 1000 为设置core文件大小最大为1000k

ulimit -c unlimited 设置core文件大小为不限制大小

很多系统在默认的情况下是关闭生成core文件的,这个命令可以加到你的profile中去

  

http://www.cnblogs.com/qq78292959/archive/2012/05/08/2490443.html

原文地址:https://www.cnblogs.com/sysk/p/6264690.html