strerr(8) — Maintenance
OSF
NAME
strerr − Receives error messages from the STREAMS log driver
SYNOPSIS
/usr/sbin/strerr
DESCRIPTION
The strerr daemon receives error messages from the STREAMS log driver (log) for addition to the STREAMS error log files (error.mm.dd) in the STREAMS error logger directory (/var/adm/streams).
When first called, the strerr daemon creates the log file error.mm.dd. This is a daily log file, where mm indicates the month and dd indicates the day of the logged messages. For each error message that it subsequently receives from the STREAMS error log driver, the strerr daemon appends the log file.
STREAMS error log messages have the following format:
sequence_num std_time ticks_time flags mod_ID sub_ID mesg_text
where:
sequence_num
Error sequence number.
std_timeThe time the message was sent, in the format hh:mm:ss.
ticks_timeThe time the message was sent, measured in machine ticks since the last boot.
flagsCan be any of the following indicators:
TIndicates that the message has also been saved in the process’ trace log.
FIndicates that the message signaled a fatal error in the STREAMS module or driver.
NIndicates that the message was sent to the system administrator via mail.
mod_IDModule identification number of the trace message source.
sub_IDSubidentification number of the trace message source.
mesg_textTrace message text.
The strerr daemon will run continuously until terminated by the user.
NOTES
Only one strerr process can open the STREAMS log driver at a time.
strerr is best used with STREAMS drivers and modules that generate only a moderate number of error messages. Otherwise, running it causes a degradation in STREAMS performance. Also, strerr may fail to capture messages if it receives a large number of them in a short amount of time. Messages in a log file should numbered sequentially; missing numbers indicate that some have been lost.
FILES
/var/adm/streams/error.mm-dd
The error log file or files on which strerr operates.
RELATED INFORMATION
Interfaces: strlog(7)