Re: core sysctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 27/05/2020 14:06, Michael Kerrisk (man-pages) wrote:
Hi Jonny,

On Mon, 25 May 2020 at 17:08, Jonny Grant <jg@xxxxxxxx> wrote:

Suggestion for some additional information on this page:

http://man7.org/linux/man-pages/man5/core.5.html

Could "Core dumps and systemd" be extended to give an
example of sysctl making a temporary change?

eg set to the filename and signal that causes the core dump:

# sysctl -w kernel.core_pattern="%e-%s.core"

I'm a little confused: what do you mean by "making a *temporary*
change" (i.e., where does "temporary" come into it)?

Thanks,

Michael


As I understood, this core pattern is set until reboot. For a permanent change, I set in this file:
/etc/sysctl.d/99-sysctl.conf

Cheers, Jonny



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux