-
sysctl -w kernel.core_pattern=/tmp/core-%e-%p
-
ulimit -c unlimited
查看:
# sysctl -a |grep core kernel.core_pattern = /tmp/core-%e-%p
sysctl -w kernel.core_pattern=/tmp/core-%e-%p
ulimit -c unlimited
查看:
# sysctl -a |grep core kernel.core_pattern = /tmp/core-%e-%p