4BSD/usr/man/cat8/dmesg.8

Compare this file to the similar file:
Show the results in this format:




DMESG(8)            UNIX Programmer's Manual             DMESG(8)



NAME
     dmesg - collect system diagnostic messages to form error log

SYNOPSIS
     /etc/dmesg [ - ]

DESCRIPTION
     _D_m_e_s_g looks in a system buffer for recently printed diagnos-
     tic messages and prints them on the standard output.  The
     messages are those printed by the system when device
     (hardware) errors occur and (occasionally) when system
     tables overflow non-fatally.  If the - flag is given, then
     _d_m_e_s_g computes (incrementally) the new messages since the
     last time it was run and places these on the standard out-
     put.  This is typically used with _c_r_o_n(8) to produce the
     error log /_u_s_r/_a_d_m/_m_e_s_s_a_g_e_s by running the command

          /etc/dmesg - >> /usr/adm/messages

     every 10 minutes.

FILES
     /usr/adm/messages   error log (conventional location)
     /usr/adm/msgbuf     scratch file for memory of - option

BUGS
     The system error message buffer is of small finite size.  As
     _d_m_e_s_g is run only every few minutes, not all error messages
     are guaranteed to be logged.  This can be construed as a
     blessing rather than a curse.

     Error diagnostics generated immediately before a system
     crash will never get logged.






















Printed 11/10/80                                                1