dmesg Collect System Diagnostic Messages to Form Error Log

Synopsis

/usr/bin/dmesg [-]
/usr/sbin/dmesg [-]

Description

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 you specify the - option, then dmesg computes (incrementally) the new messages since the last time it was run and places these on the standard output.

Files

/var/adm/msgbuf
 Scratch file for memory of - option.

Attributes

See attributes(5) for descriptions of the following attributes.

Attribute Type Attribute Value
Availability SUNWesu (32-bit)
 SUNWesxu ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.