DMESG(8) NetBSD System Manager's Manual DMESG(8)
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 default ``/netbsd''. 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
You can also request any man page by name and (optionally) by section: