On 8/12/19 8:25 AM, ToddAndMargo via users wrote:
Hi All,
I have no idea what this tells me
$ cat /proc/sys/kernel/core_pattern
|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e
Does anyone know of a list somewhere?
And why does it send out a pipe symbol?
What does this do?
# echo core > /proc/sys/kernel/core_pattern
Will "core" turn on core dumps?
And if so, how do I turn it back off after testing it?
And will it wipe out "%P %u %g %s %t %c %h %e"?
I am confused,
Have a look at
https://sigquit.wordpress.com/2009/03/13/the-core-pattern/
Doing the procedures there will create a core file in the specified directory and bypass
the "systemd" method implemented in fedora.
As for fedora. The pipe causes the core file to be used as input to systemd-coredump.
A "man systemd-coredump" would be a good place to start.