Re: Application coredumps.

Andi Kleen (ak@muc.de)
01 Oct 1997 11:27:02 +0200


Peter Enderborg <pme@abnamro-software.com> writes:

> Is there any way to get the linux kernel do coredump application on a
> pointed directory ?
> I whould like to have a enviroment variable "CORE_DUMP_DIR", so my
> coredumps
> do not write to current directory. (Im not even sure if it is the kernel
> that is handling
> the coredump. But I cant figure out any other way it could work so a ask
> here)
> Is there such a feature ? Whould also be good to have the coredumps
> named in a
> better way than just core.

ln -s /my/better/dir/this-wonderful-coredump `pwd`/core

Then the coredump will be writen to this-wonderful-coredump.

-Andi