1strerr(1M) System Administration Commands strerr(1M)
2
3
4
6 strerr - STREAMS error logger daemon
7
9 strerr
10
11
13 strerr receives error log messages from the STREAMS-based log driver
14 (see log(7D)) and appends them to a log file. The resultant error log
15 files reside in the directory /var/adm/streams, and are named
16 error.mm-dd, where mm is the month and dd is the day of the messages
17 contained in each log file.
18
19
20 The format of an error log message is:
21
22
23 <seq> <time> <ticks> <flags> <mid> <sid> <text>
24
25 <seq> error sequence number
26
27
28 <time> time of message in hh:mm:ss
29
30
31 <ticks> time of message in machine ticks since boot priority level
32
33
34 <flags> T : the message was also sent to a tracing process F : indi‐
35 cates a fatal error N : send mail to the system administra‐
36 tor (hardcoded as root)
37
38
39 <mid> module ID number of source
40
41
42 <sid> sub-ID number of source
43
44
45 <text> formatted text of the error message
46
47
48
49 Messages that appear in the error log are intended to report excep‐
50 tional conditions that require the attention of the system administra‐
51 tor. Those messages which indicate the total failure of a STREAMS-
52 based driver or module should have the F flag set. Those messages
53 requiring the immediate attention of the administrator will have the N
54 flag set, which causes the error logger to send the message to the sys‐
55 tem administrator using mail. The priority level usually has no meaning
56 in the error log but will have meaning if the message is also sent to a
57 tracer process.
58
59
60 Once initiated, strerr continues to execute until terminated by the
61 user. It is commonly executed asynchronously.
62
64 /var/adm/streams/error.mm-dd
65
66 error log file.
67
68
70 See attributes(5) for descriptions of the following attributes:
71
72
73
74
75 ┌─────────────────────────────┬─────────────────────────────┐
76 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
77 ├─────────────────────────────┼─────────────────────────────┤
78 │Availability │SUNWcsu │
79 └─────────────────────────────┴─────────────────────────────┘
80
82 attributes(5), log(7D)
83
84
85
86
88 There is no restriction to the number of strerr processes opening the
89 STREAMS-based log driver at a time.
90
91
92 If a module or driver is generating a large number of error messages,
93 running the error logger will cause a degradation in STREAMS perfor‐
94 mance. If a large burst of messages are generated in a short time, the
95 log driver may not be able to deliver some of the messages. This situa‐
96 tion is indicated by gaps in the sequence numbering of the messages in
97 the log files.
98
99
100
101SunOS 5.11 4 Oct 1994 strerr(1M)