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 unusual events
occur (such as when system tables overflow or the system crashes).
argument is specified,
computes (incrementally) the new messages since the last time it
was run and places these on the standard output.
This is typically used with
to produce the error log
by running the command:
/usr/sbin/dmesg - >> /var/adm/messages
every 10 minutes.
allow substitution for the defaults
should be a file containing the image of the kernel virtual memory
saved by the
should be the corresponding kernel. If the system is booted
with a kernel other than /stand/vmunix say /stand/vmunix_new,
must be passed this name, the command must be,
/usr/sbin/dmesg [-] /dev/kmem /stand/vmunix_new
The system error message buffer is of small, finite size.
is run only every few minutes,
so there is no guarantee that all error messages will be logged.
was developed by the University of California, Berkeley.
error log (conventional location)
memory scratch file for
special file containing the image of kernel virtual memory
the kernel, system name list