DMESG(8) COMMAND REFERENCE DMESG(8)
NAME
dmesg - collect system diagnostic messages to form error log
SYNOPSIS
/etc/dmesg [ -i ] [ -f kernelfile ] [ -c corefile ]
DESCRIPTION
Dmesg 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 if hardware
errors occur and occasionally when system tables overflow
non-fatally.
OPTIONS
-i incrementally computes the new messages since the
last time it was run with the -i flag and places
these on the standard output. This is typically
used with cron(8) to produce the error log
/usr/adm/messages by running the command
/etc/dmesg -i >> /usr/adm/messages
every 10 minutes.
-f kernelfile
File used to get a pointer to the system message
buffer. Defaults to /dev/cvt.
-c corefile
File in which the current system message buffer is
found. The pointer obtained from kernelfile is
used as an offset into corefile. Defaults to
/dev/kmem.
FILES
/usr/adm/messages
error log (conventional location)
/usr/adm/msgbuf
scratch file for memory of -i option
CAVEATS
The -i flag should only be mentioned in crontab since the
scratch file is global and using it elsewhere may cause
messages to be lost from /usr/adm/messages.
The system error message buffer is of small finite size. As
dmesg is run only every few minutes, not all error messages
are guaranteed to be logged.
Error diagnostics generated immediately before a system
crash will never get logged.
Printed 4/6/89 1
DMESG(8) COMMAND REFERENCE DMESG(8)
SEE ALSO
cron(8).
Printed 4/6/89 2
%%index%%
na:264,112;
sy:376,343;
de:719,398;
op:1117,1040;
fi:2157,285;
ca:2442,585;
se:3363,153;
%%index%%000000000122