DOCUMENT ID: 1336-02 SYNOPSIS: Saving failed process data to a log OS RELEASE: 2.x PRODUCT: Solaris KEYWORDS: dbx adb core DESCRIPTION: There are times when systems run unattended in closets and are black boxes. Some examples are telephone switch logging and security systems. These systems occassionally have processes core dumps. The "core" files are generally too large to keep in their entirity. A logging function will generally aid in solving the problem. Most of the systems run with a master program and several child processes doing the actual work. If one of the child processes dies the master program will restart the child. Any signal indicating a "core" dump will invoke a special logging function. The function is passed the PID of the child and renames the core file to core.PID. A function will then build a debugger dialog and extract data from the core file into a text file. The text file is then processed into a log file entry. DATE APPROVED: 05/08/95