*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> strerr (8)              
Title
Content
Arch
Section
 

strerr(8)

Contents


NAME    [Toc]    [Back]

       strerr  -  Receives  error  messages  from the STREAMS log
       driver

SYNOPSIS    [Toc]    [Back]

       /usr/sbin/strerr [-a sys_admin_mail_name] [-d logdir]

OPTIONS    [Toc]    [Back]

       Specifies the mail name of the user to receive the message
       via  mail.  This  is  the system administrator by default.
       Specifies the directory to contain  the  error  log  file.
       This is /var/adm/streams by default.

DESCRIPTION    [Toc]    [Back]

       The strerr daemon receives error messages from the STREAMS
       log driver (strlog) for addition to the STREAMS error  log
       files  (error.mm.dd) in the STREAMS error logger directory
       (/var/adm/streams by default). 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. The strerr daemon
       then appends  each  error  message  that  it  subsequently
       receives from the STREAMS log driver to the log file.

       STREAMS error log messages have the following format:

       seq_num    std_time   ticks_time   flags   mod_ID   sub_ID
       msg_text

       The error sequence number.  The time the message was sent,
       in  the  format  hh:mm:ss.  The time the message was sent,
       measured in machine ticks since the last boot.  Can be any
       of  the  following  indicators: Indicates that the message
       has also been saved in the process's trace log.  Indicates
       that  the  message signaled a fatal error.  Indicates that
       the message is to be sent to the system  administrator  or
       specified user via mail.  The module identification number
       of the trace message source.  The subidentification number
       of the trace message source.  The trace message text.

       The  strerr  daemon will run continuously until terminated
       by the user.

NOTES    [Toc]    [Back]

       Only one strerr process can open the STREAMS log driver at
       a  time.  This restriction is intended to maximize performance.


       The STREAMS error logging mechanism works best when it  is
       not  overused.  The strerr daemon can degrade STREAMS performance
 by affecting the response, throughput, and  other
       behaviors  of  the drivers and modules that invoke it. The
       daemon will also fail to capture messages if  drivers  and
       modules  generate messages at a higher rate than its optimum
 read rate. Missing sequence numbers among the messages
       in a log file indicate that messages have been lost.





FILES    [Toc]    [Back]

       The error log file or files on which strerr operates

RELATED INFORMATION    [Toc]    [Back]

       Interfaces: strlog(7)



                                                        strerr(8)
[ Back ]
 Similar pages
Name OS Title
strerr HP-UX receive error messages from the STREAMS log driver
snmp_traprcv Tru64 A program that listens for SNMP trap messages and prints any it receives
tels HP-UX STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respective
telm HP-UX STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respective
dlb Tru64 STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS
dlpi Tru64 STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS
perror OpenBSD write error messages to standard error
perror NetBSD write error messages to standard error
strace IRIX print STREAMS trace messages
flushband Tru64 STREAMS: Flushes messages for a specified priority band
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service