Skip to content

Core dump

开启core dump

如何开启core dump,设置core dump文件的位置、名称格式?

目前我参考了如下内容:

1、stackexchange How to set the core dump file location (and name)? # A

2、csdn linux下的core文件路径及文件名设置

ulimit -c unlimited
echo "./%e.%s.core" > /proc/sys/kernel/core_pattern

stackexchange How to set the core dump file location (and name)?

TODO

stackoverflow Core dumped, but core file is not in the current directory?

stackoverflow Changing location of core dump

https://linux-audit.com/understand-and-configure-core-dumps-work-on-linux/

https://wiki.archlinux.org/index.php/Core_dump

https://www.akadia.com/services/ora_enable_core.html

wikipedia Core dump

stackoverflow Why are core dump files generated?