DMESG(C) XENIX System V DMESG(C)
Name
dmesg - Displays the system messages on the console.
Syntax
dmesg [ - ]
Description
The dmesg command displays all the system messages that have
been generated since the last time the system was booted.
If the option - is specified, it displays only those
messages that have been generated since the last time the
dmesg command was performed.
dmesg can be invoked periodically by placing instructions in
the file /usr/lib/crontab . It can also be invoked
automatically by /etc/rc whenever the system is booted. See
``Notes'', below.
dmesg logs all error messages it prints in
/usr/adm/messages. If dmesg is invoked automatically, the
messages file continues to grow and can become very large.
The system administrator should occasionally erase its
contents.
Files
/etc/dmesg
/usr/adm/messages
/usr/adm/msgbuf
Notes
dmesg is included in this release for backwards
compatibility only. The device /dev/error provides a more
flexible means of logging error messages, and is recommended
over dmesg. See error(M) for more information.
See Also
cron(C), error(M), messages(M)
Page 1 (printed 8/7/87)