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

相关文章:

  • 2022-02-07
  • 2022-12-23
  • 2022-01-17
  • 2021-05-12
  • 2021-05-25
  • 2021-06-22
猜你喜欢
  • 2022-12-23
  • 2021-04-01
  • 2021-05-24
  • 2021-10-04
  • 2021-06-11
  • 2022-02-22
  • 2022-03-06
相关资源
相似解决方案