查看
ulimit
ulimit -c
cat /proc/sys/kernel/core_pattern
开启
ulimit -c unlimited
echo "/home/yourname/core.%p.%e-%t" > /proc/sys/kernel/core_pattern
查看
ulimit
ulimit -c
cat /proc/sys/kernel/core_pattern
开启
ulimit -c unlimited
echo "/home/yourname/core.%p.%e-%t" > /proc/sys/kernel/core_pattern