Bootstrap

Ubuntu18 设置core dump 步骤

1,修改~/. bashrc ,文末添加 ulimit -c unlimited
2,修改/etc/security/limits.conf 添加
* soft core unlimited
* hard core unlimited
3,修改/etc/sysctl.conf
添加kernel.core_pattern=/home/ji/core/core_%e_%p_%t
kernel.core_uses_pid = 0
4, 重启电脑

;