I have never carefully considered what a kernel dump is, but a kernel dump will occur when an error occurs during the process. I have read the shell programming guide over the past few days. I thought it was very clear and I just picked it up. Of course, if you are interested in shell programming, you can read this book. There are not many books dedicated to shell programming.
This concept is derived from Unix systems. When a program is being executed, the program may cause a core dump (core dump) to threaten the system due to miscoding or inadequate tests) it's confusing.
In Unix systems, the main memory is often referred to as the core, because the core is used before the semiconductor is used as the memory material ). The core image is the memory content when the "process" is executed. When a process stops executing an error or receives a "signal", the system writes the core image to a file for debugging. This is the so-called core dump ).
In addition, we usually define a process as one execution of the program. The program is static, and the process is dynamic. A process is one of the most successful concepts in the operating system (as well as virtual storage). A process is an execution image of a program in the operating system at a certain time, A process is a combination of CPU usage, memory usage, disk usage, and Io operations at a specific time. Therefore, the process management mechanism in the operating system is quite complicated. For more information, see the book "understanding computer systems in depth.
Some of the above are my personal understandings. please correct me if there is anything inappropriate.