Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

log(7)



  strerr(8)                           CLIX                           strerr(8)



  NAME

    strerr - Runs STREAMS error logger daemon

  SYNOPSIS

    strerr

  DESCRIPTION

    The strerr command receives error log messages from the STREAMS log driver
    (log(7)) and appends them to a log file.  The error log files produced
    reside in the directory /usr/adm/streams and are named error.mm-dd, where
    mm is the month and dd is the day of the messages contained in each log
    file.

    The format of an error log message is:

    seq time ticks flags mid sid text

    Where:

    seq     error sequence number

    time    time of message in hh:mm:ss

    ticks   time of message in machine ticks since boot priority level

    flags

            T   the message was also sent to a tracing process

            F   indicates a fatal error

            N   send mail to the system administrator

    mid     module ID number of source

    sid     sub-ID number of source

    text    formatted text of the error message

    Messages that appear in the error log are intended to report exceptional
    conditions that require the attention of the system administrator.  Those
    messages that indicate the total failure of a STREAMS driver or module
    should have the F flag set.  Those messages requiring the immediate
    attention of the administrator will have the N flag set, which causes the
    error logger to send the message to the system administrator with mail(1).
    The priority level usually has no meaning in the error log but will have
    meaning if the message is also sent to a tracer process.




  2/94 - Intergraph Corporation                                              1






  strerr(8)                           CLIX                           strerr(8)



    Once initiated, strerr will continue to execute until terminated by the
    user.  Commonly, strerr would be executed asynchronously.

  NOTES

    Only one strerr process at a time is permitted to open the STREAMS log
    driver.

    If a module or driver is generating a large number of error messages,
    running the error logger will cause a degradation in STREAMS performance.
    If a large burst of messages is generated in a short time, the log driver
    might not be able to deliver some of the messages.  This situation is
    indicated by gaps in the sequence numbering of the messages in the log
    files.

  FILES

    /usr/adm/streams/error.mm-dd

    /dev/log

  DIAGNOSTICS

    error logger already exists
           The strerr process already exists.

    unable to open /dev/log
           The strerr command is unable to access the STREAMS log driver.

  EXIT VALUES

    The strerr command exits with a value of 1 if it encounters a problem.

  RELATED INFORMATION

    Files: log(7)


















  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026