Go to main content

Troubleshooting System Administration Issues in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Viewing System Messages and Logging

To display recent messages generated by a system crash or reboot, use the dmesg command.

$ dmesg

For large message logs, use the more command to display only one screen of messages at a time.

$ more /var/adm/messages
Example 7  Viewing System Messages

This example shows output from the dmesg command on an Oracle Solaris 11.4 system.

$ dmesg
Saturday, July 2, 2016 07:03:55 AM UTC
Jul 1 12:14:45 solaris mac: [ID 435574 kern .info]...
Jul 1 12:14:47 solaris/sbin/dhcpagent[374]: [ID 778557 daemon.warning]...
Jul 1 12:15:02 solaris sendmail[639]: [ID 702911 mail.crit]...
Jul 1 12:15:05 solaris asr-notify[846]: [ID 55615 daemon.warning]...
Jul 1 12:15:27 solaris pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
Jul 1 12:15:27 solaris genunix: [ID 936769 kern.info] devinfo0 is ...
.
.
.

For more information, see the dmesg(8) man page.