參考資訊: https://medium.com/@fcamel/%E5%9C%A8-linux-%E4%B8%8A%E5%85%81%E8%A8%B1%E7%94%A2%E7%94%9F-core-dump-7d6d26b05b75 步驟如下:
$ ulimit -c unlimited $ echo "core.%e.%p.%t" | sudo tee /proc/sys/kernel/core_pattern