Linux Kernel Tweaks: kernel.core_uses_pid

The sysctl option “kernel.core_uses_pid” comes into play when a vmcore file is being dumped.  It can be set in one of two ways;

[bash]kernel.core_uses_pid = 0


kernel.core_uses_pid = 1[/bash]

As you can probably tell this is a binary settings.  It’s either enabled (1) or it’s not (0).

The exact text from the sysctl.txt file is;



The default coredump filename is "core". By setting
core_uses_pid to 1, the coredump filename becomes core.PID.
If core_pattern does not include "%p" (default does not)
and core_uses_pid is set, then .PID will be appended to
the filename.


For Fedora 22 this parameter is set to “1” by default.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.