dmesg is made obsolete by syslogd(1M) for maintenance of the system error log.
dmesg looks in a system buffer for recently printed diagnostic messages and prints them on the standard output.
See attributes(5) for descriptions of the following attributes:
syslogd(1M), attributes(5)