Skip Navigation Links | |
Exit Print View | |
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME save_core.sh - SAM-QFS sam-robotsd(1M) exception notification script SYNOPSIS /etc/opt/SUNWsamfs/scripts/save_core.sh prg_name pid severity msg_no msg AVAILABILITY SUNWsamfs DESCRIPTION The /etc/opt/SUNWsamfs/scripts/save_core.sh script is executed by sam-robotsd(1M) after it encounters abnormal or exceptional events. A site-specific version of this script can be substituted in the installed location. This script labels core files and prevents existing core files from being overwritten as more are generated. As released, /etc/opt/SUNWsamfs/scripts/save_core.sh renames the sam-robotsd(1M) child core files to include the program name, process ID, and date. OPTIONS The sam-robotsd(1M) daemon executes /etc/opt/SUNWsamfs/scripts/save_core.sh with the following arguments: prg_name The name of the program that is calling this script. pid The process ID of the program that is calling this script. severity A keyword that identifies the severity and the syslog level of the event. The keywords are as follows: emerg, alert, crit, err, warning, notice, info, and debug. msg_no The message number as found in the message catalog. msg The text of the translated message string. This script expects this message to be in a 2-field format. The first field indicates the program that caused the core dump. The second field is the process ID of the program that caused the core dump. SEE ALSO sam-robotsd(1M).