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 archiver.sh - Sun QFS or SAM-QFS archiver exception notification script SYNOPSIS /etc/opt/SUNWsamfs/scripts/archiver.sh prg_name pid severity msg_no msg AVAILABILITY SUNWsamfs DESCRIPTION The archiver executes the /etc/opt/SUNWsamfs/scripts/archiver.sh script when it encounters abnormal or exceptional events. You can substitute a site-specific version of this script by using the archiver's notify directive in the archiver.cmd(4) file. For all events, the /etc/opt/SUNWsamfs/scripts/archiver.sh script logs events to syslog using the /usr/bin/logger command. In addition, the emerg, alert, crit, and err keywords generate email to the root account, echoing the message string. OPTIONS The archiver executes /etc/opt/SUNWsamfs/scripts/archiver.sh and any scripts defined by the user through the notify directive 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. SEE ALSO archiver(1M), archiver.cmd(4)