I would suggest using the following pattern
/tmp/cores/core.%t.%h.%p.%e
i.e. core.<timestamp>.<hostname>.<pid>.<program> or core.12345678.host.1234.tm which will produce a list of core files with the ls command automatically sorted by timestamp which is more important than being sorted by the program name.
I would suggest using the following pattern
/tmp/cores/ core.%t. %h.%p.% e
i.e. core.<timestamp >.<hostname> .<pid>. <program> or core.12345678. host.1234. tm which will produce a list of core files with the ls command automatically sorted by timestamp which is more important than being sorted by the program name.