Linux-man Archive on
 help / color / Atom feed
From: Jonny Grant <>
To: Michael Kerrisk <>,
	linux-man <>
Subject: Re: core man page %e
Date: Mon, 1 Jun 2020 11:21:07 +0100
Message-ID: <> (raw)
In-Reply-To: <>

Hi Mtk,

BTW, if I add "%P-%e-%s.core" every core starts with the same

The man page shows:
  %P  PID of dumped process, as seen in the initial PID namespace
                (since Linux 3.12)

Do you see similar? I was only needing something to make the filename unique, so %t is enough.

Cheers, Jonny

On 30/05/2020 11:39, Jonny Grant wrote:
> Hello mtk
> I've noticed "%e-%s.core" often gives something other than the filename and the name is truncated to 16 bytes:-
> ThreadPoolServi-5.core
> Chrome_InProcUt-5.core
> This was set:
> sysctl -w kernel.core_pattern="%e-%s.core"
> In multithreaded applications it looks like %e is giving something other than the filename, perhaps a thread entry-point 
> symbol name.
>             %e  executable filename (without path prefix)
> Could this be updated to:
>             %e  executable filename or thread name truncated to 16 bytes
> Cheers, Jonny

  reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-30 10:39 Jonny Grant
2020-06-01 10:21 ` Jonny Grant [this message]
2020-06-09  8:25   ` Michael Kerrisk (man-pages)
2020-06-09 11:00     ` Jonny Grant
2020-06-09 10:18 ` Michael Kerrisk (man-pages)
2020-06-09 11:35   ` 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:

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

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-man Archive on

Archives are clonable:
	git clone --mirror linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ \
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone