SUNWesu
Note: 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. The messages are those printed or logged by the system when errors occur. If the ‘-’ flag is given, then dmesg computes (incrementally) the new messages since the last time it was run and places these on the standard output.