Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ error(4) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

errunix

rasconf

errdemon



ERROR(4,F)                  AIX Technical Reference                  ERROR(4,F)



-------------------------------------------------------------------------------
error



PURPOSE

Logs system events.

SYNOPSIS

#include <sys/erec.h>

DESCRIPTION

The error special file is found in all AIX systems.

The format of an event record depends on the type of event encountered.  Each
record, however, has a header with the following format:

 struct errhdr {
    int       e_len;      /* word in record (with header) */
    time_t    e_time;     /* time of day */
    long      e_timex;    /* clock ticks */
    char      e_nid[8];   /*same as nodename field returned by uname sys call*/
    char      e_vmid[8];  /*same as sysname field returned by uname sys call */
     union {
        struct  {
           char  ex_class;
           char  ex_subclass[2];
           char  ex_type;  /* record type */
        } ex;
        int csmt;
     } exx;
 };

The error daemon searches the RAS configuration file /etc/rasconf for a stanza
labeled /dev/error.  Minor device 0 of the error driver is the interface
between a process and the routines that collect error-records in the system.
This driver can be opened only for reading by a process (usually the error
daemon) with superuser permission.  Each read retrieves an entire error record.
A read request of less than the entire record causes the retrieved record to be
truncated.  Multiple processes can open the error file to write.

FILE

/dev/error

RELATED INFORMATION

In this book:  "errunix," and  "rasconf."




Processed November 7, 1990        ERROR(4,F)                                  1





ERROR(4,F)                  AIX Technical Reference                  ERROR(4,F)



The errdemon command in AIX Operating System Commands Reference.






















































Processed November 7, 1990        ERROR(4,F)                                  2



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