Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 1m: Maintenance Commands
Release 6.1.1
E70305-03

NAME

save_core.sh - Oracle HSM 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).