On Thu, 16 May 2002, Ken Murchison wrote:
> If you have multiple services/processes the cores will overwrite each
> other, so you need to catch it fairly quickly (unless they all have the

Unless you tell the kernel to use the pid in the corefile name...
Add this to the script on Linux 2.4.x:

[ -f /proc/sys/kernel/core_uses_pid ] && \
  echo 1 >/proc/sys/kernel/core_uses_pid

I don't know which other kernels can do that, but it should be a reasonably
common feature, given how useful it is...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply via email to