.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)dmesg.8 6.1 (Berkeley) %G%
dmesg \- collect system diagnostic messages to form error log
looks in a system buffer for recently printed diagnostic 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.
computes (incrementally) the new messages since the last time it
was run and places these on the standard output.
This is typically used with
/etc/dmesg \- >> /usr/adm/messages
/usr/adm/messages error log (conventional location)
/usr/adm/msgbuf scratch file for memory of \- option
The system error message buffer is of small finite size. As
is run only every few minutes, not all error messages
are guaranteed to be logged. This can be construed as a blessing rather
Error diagnostics generated immediately before a system crash will