2 .\" Copyright 1989 AT&T Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH STRERR 8 "Oct 4, 1994"
8 strerr \- STREAMS error logger daemon
18 \fBstrerr\fR receives error log messages from the STREAMS-based log driver (see
19 \fBlog\fR(7D)) and appends them to a log file. The resultant error log files
20 reside in the directory \fB/var/log/streams\fR, and are named
21 \fBerror.\fR\fImm\fR\fB-\fR\fBdd\fR, where \fImm\fR is the month and \fBdd\fR
22 is the day of the messages contained in each log file.
25 The format of an error log message is:
28 <\fIseq\fR> <\fBtime\fR> <\fIticks\fR> <\fIflags\fR> <\fImid\fR> <\fIsid\fR>
45 time of message in hh:mm:ss
54 time of message in machine ticks since boot priority level
63 \fBT\fR : the message was also sent to a tracing process \fBF\fR : indicates a
64 fatal error \fBN\fR : send mail to the system administrator (hardcoded as root)
73 module \fBID\fR number of source
82 sub-ID number of source
91 formatted text of the error message
96 Messages that appear in the error log are intended to report exceptional
97 conditions that require the attention of the system administrator. Those
98 messages which indicate the total failure of a STREAMS-based driver or module
99 should have the \fBF\fR flag set. Those messages requiring the immediate
100 attention of the administrator will have the \fBN\fR flag set, which causes the
101 error logger to send the message to the system administrator using \fBmail\fR.
102 The priority level usually has no meaning in the error log but will have
103 meaning if the message is also sent to a tracer process.
106 Once initiated, \fBstrerr\fR continues to execute until terminated by the user.
107 It is commonly executed asynchronously.
112 \fB\fB/var/log/streams/error.\fR\fImm\fR\fB-\fR\fBdd\fR\fR
122 \fBattributes\fR(5), \fBlog\fR(7D)
129 There is no restriction to the number of \fBstrerr\fR processes opening the
130 \fBSTREAMS\fR-based log driver at a time.
133 If a module or driver is generating a large number of error messages, running
134 the error logger will cause a degradation in STREAMS performance. If a large
135 burst of messages are generated in a short time, the log driver may not be able
136 to deliver some of the messages. This situation is indicated by gaps in the
137 sequence numbering of the messages in the log files.