Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

errord(8)



  errors(1)                           CLIX                           errors(1)



  NAME

    errors - Generates a report from an error log file

  SYNOPSIS

    errors [-hnsrb] [-f file] [-z "time"] [-t "time"] [-i types] [-e types]

  FLAGS

    -h            Displays a help screen.

    -n            Reports errors for a system other than the current system.
                  The errors command prompts for the network address,
                  username, and password.  The error logging file for that
                  system will be copied to /usr/tmp/errlog on the current
                  system.  This flag will not work with the -f and -r flags.

    -s            Reports the number of errors per device and per error type
                  on a system.  This flag can be used only with the following
                  flags:  -n, -t, -z, and -f.

    -r            Instructs the error daemon errord to send error messages to
                  the error log file and to errors for immediate display.
                  This flag can be used only with the -i, -e, and -b flags.

    -b            Gives an abridged version of the error logging report.  This
                  flag cannot be used with the -s flag.

    -f file       Specifies the log file to be used.  The default file is
                  /usr/adm/errlog.  This flag will not work with the -n and -r
                  flags.

    -t "time"     Specifies the date and time to start the report.  The value
                  of time must be enclosed in quotation marks.  This flag will
                  not work with the -r flag.  These are examples of valid
                  times:

                  yesterday 13:34
                  28-feb 1990 12:01
                  12/25/90 10:30


    -z "time"     Specifies the date and time to end the report.  See the
                  examples above.  This flag will not work with the -r flag.

    -i types      Includes only the error types specified by the value of
                  types in the report.  Valid types are device, user, panic,
                  sysmsg, memory, slave, disk, tape, floppy, asnc, scan,
                  parallel, digitizer, timeout, security, stray, optic, soft,
                  retry, and hard.  If multiple types are specified, they must



  2/94 - Intergraph Corporation                                              1






  errors(1)                           CLIX                           errors(1)



                  be separated by commas and/or spaces; if spaces are used,
                  the entire types string must be enclosed in quotation marks.
                  This flag will not work with the -e and -s flags.

    -e types      Excludes only the error types specified by the value of
                  types from the report.  Valid types are device, user, panic,
                  sysmsg, memory, slave, disk, tape, floppy, asnc, scan,
                  parallel, digitizer, timeout, security, stray, optic, soft,
                  retry, and hard.  This flag will not work with the -i and -s
                  flags.

  DESCRIPTION

    The errors command generates a report from an error log file.  The report
    is sent to stdout.  If no flags are specified, errors reports all entries
    in the /usr/adm/errlog file on the current system.

  EXAMPLES

    1.  To report all errors in the error log file:

        errors


    2.  The result of the following command prompts the user for the system to
        connect to and a username/password combination to use.  That system's
        error log file is then placed on the current system in the file
        /usr/tmp/errlog.  The report will contain only the disk and memory
        errors which occurred since yesterday at noon.

        errors -n -t "yesterday 12:00" -i disk,memory


  FILES

    /usr/adm/errlog  System error log file.

    /usr/tmp/errlog  Temporary error log (for errors from another system).

  NOTES

    Only systems with a 4.0 (partition 4, modifier 0) disk partition will log
    system starts, stops, asserts, cmn_errs (sysmsg-type errors) and panics.
    These types of errors may not be logged if the system boots with a large
    number of errors.

    All numbers appearing in the error log report are in hexadecimal numbers
    except the date, time and sequence numbers.

  CAUTIONS




  2                                              Intergraph Corporation - 2/94






  errors(1)                           CLIX                           errors(1)



    It is recommended to run this command from the root account.

  DIAGNOSTICS

    If errors encounters a problem, it displays a message before exiting.
    Most problems can be traced to running errors from an account other than
    the root account.

  EXIT VALUES

    The errors command always exits with a value of 0.

  RELATED INFORMATION

    Commands:  errord(8)







































  2/94 - Intergraph Corporation                                              3




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