On Thu, 17 Oct 2002 01:07:48 +1000, Steve Youngs <youngs(a)xemacs.org> said:
How can I make my core files be created as
'core.<pid>'? This would
be really useful, there's been more than one occasion when a core file
that I haven't finished with was overwritten. :-(
At least for the Linux 2.4/2.5 kernel:
echo 1 > /proc/sys/kernel/core_uses_pid
should do the trick.