Linux 生成 core dump的方法及设置

Posted FlyingGod

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux 生成 core dump的方法及设置相关的知识,希望对你有一定的参考价值。

core dump 定义
A core dump is the recorded state of the working memory of a computer program at a specific time, generally when the 
program has terminated abnormally (crashed). In practice, other key pieces of program state are usually dumped at 
the same time, including the processor registers, which may include the program counter and stack pointer, memory 
management information, and other processor and operating system flags and information. The name comes from the 
once-standard memory technology core memory. Core dumps are often used to diagnose or debug errors in computer programs.

On many operating systems, a fatal error in a program automatically triggers a core dump, and by extension the phrase 
"to dump core" has come to mean, in many cases, any fatal error, regardless of whether a record of the program memory 
is created.

 

以上是关于Linux 生成 core dump的方法及设置的主要内容,如果未能解决你的问题,请参考以下文章

linux下生成core dump文件方法及设置

系统篇: core dump 文件的生成及配置

如何查询和修改Linux操作系统生成core dump文件的默认路径?

RedHat Linux下如何生成core dump文件

Linux core dump文件生成与使用

linux core-dump生成