Translate

Thursday 23 October 2014

Creating a system-wide core dump durectory


The syscorepath command was introduced in AIX 6.1 and enables a system administrator to set up a single system-wide directory in which to dump core files from any processes. This can ease administrative tasks in managing file-system space and provides a single, known directory in which to find core files. By default, the core file is created in the working directory of the process being core-dumped.

e.g. to store all your core files in "/core":



# syscorepath -p /core



Other useful switches are:

-c        Unsets the current directory specified as the repository for core files. Subsequent core files will be created in the working directory of the process.

-g         Displays current directory specified as the repository for core files.

No comments:

Post a Comment