How to change the location of a core file on UNIX® operating systems

Technote (FAQ)
Problem
By default, a core file is generated in the same directory where the executable file is invoked.

UNIX systems provide a configuration option for setting the location where the core file is written when an application crashes.
Solution
You can use the coreadm system utility to configure core file names and locations - see "man coreadm" for examples.

On AIX systems, using the /usr/bin/syscorepath command, you can specify a single system-wide directory where all the process core files are dumped.

You can use symbolic links to change the location of core files. For example, if you want a WebSphereŽ Application Server core file to go to the /tmp directory:

ln -s /tmp/core /usr/WebSphere/AppServer/bin/core











    Document Information

    Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Java SDK
    Operating system(s): Multi-Platform
    Software version: 3.5, 4.0, 5.0, 5.1, 6.0
    Software edition: Edition Independent
    Reference #: 1159209
    IBM Group: Software Group
    Modified date: 2004-01-28