All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonny Grant <jg@jguk.org>
To: mtk.manpages@gmail.com
Cc: linux-man <linux-man@vger.kernel.org>
Subject: Re: core sysctl
Date: Wed, 27 May 2020 14:23:36 +0100	[thread overview]
Message-ID: <0e0f3d4e-b811-3423-ffe9-2fd68900c1a0@jguk.org> (raw)
In-Reply-To: <CAKgNAkhkASJ8+Xe64_ifM1_GgrNSCd6Vx0GDdkJ7aFfJ7RG=7A@mail.gmail.com>



On 27/05/2020 14:06, Michael Kerrisk (man-pages) wrote:
> Hi Jonny,
> 
> On Mon, 25 May 2020 at 17:08, Jonny Grant <jg@jguk.org> 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

  reply	other threads:[~2020-05-27 13:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25 15:08 core sysctl Jonny Grant
2020-05-27 13:06 ` Michael Kerrisk (man-pages)
2020-05-27 13:23   ` Jonny Grant [this message]
2020-05-27 13:32     ` Michael Kerrisk (man-pages)
2020-05-27 15:22       ` Jonny Grant
2020-05-28  9:16         ` Michael Kerrisk (man-pages)
2020-05-28  9:28           ` Jakub Wilk
2020-05-28  9:38             ` Michael Kerrisk (man-pages)
2020-05-28  9:51           ` Jonny Grant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e0f3d4e-b811-3423-ffe9-2fd68900c1a0@jguk.org \
    --to=jg@jguk.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.