OpenBSD manual page server

Manual Page Search Parameters

DMESG(8) System Manager's Manual DMESG(8)

dmesgdisplay the system message buffer

dmesg [-s] [-M core] [-N system]

dmesg displays the contents of the system message buffer. It is most commonly used to review system startup messages. On some systems the message buffer can survive reboot and be retained (in the hope of exposing information from a crash).

The options are as follows:

core
Extract values associated with the name list from the specified core instead of the default /dev/kmem.
system
Extract the name list from the specified system instead of the default /bsd.
Display the contents of the console message buffer instead. This can be used to review rc(8) system startup messages. This option is limited to the superuser.

/var/run/dmesg.boot
copy of dmesg saved by rc(8) at boot time

syslogd(8)

The dmesg command appeared in 3BSD.

October 6, 2016 OpenBSD-6.1