- NetBSD Manual Pages
DMESG(8) NetBSD System Manager's Manual DMESG(8)
Powered by man-cgi (2020-09-24).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
dmesg -- display the system message buffer
dmesg [-M core] [-N system]
dmesg displays the contents of the system message buffer.
The options are as follows:
-M Extract values associated with the name list from the specified
core instead of the default ``/dev/mem''.
-N Extract the name list from the specified system instead of the
The system message buffer is a circular buffer of a fixed size. If the
buffer has been filled, the first line of the dmesg output may not be
complete. The size of the message buffer is configurable at compile-time
on most systems with the MSGBUFSIZE kernel option. Look for MSGBUFSIZE
in options(4) for details.
/var/run/dmesg.boot copy of dmesg at the time of last boot.
The dmesg command appeared in 3.0BSD.
NetBSD 8.1 September 11, 2016 NetBSD 8.1