View Log Files (Oracle Solaris)
View Log Files (Oracle Solaris)
The error logging daemon, syslogd, automatically records various system warnings, errors, and
faults in message files. These messages can alert you to system problems such as a device that
is about to fail.
The /var/adm directory contains several message files. The most recent messages are in
the /var/adm/messages file. After a period of time (usually every week), a new messages
file is automatically created. The original contents of the messages file are rotated to a file
named messages.1. Over a period of time, the messages are further rotated to messages.2 and
messages.3, and then deleted.
1.
Log in as superuser.
2.
Type:
# more /var/adm/messages
To view all logged messages, type:
3.
# more /var/adm/messages*
Related Information
"Check the Message Buffer" on page 35
■
"View Log Files (Oracle ILOM)" on page 36
■
View Log Files (Oracle ILOM)
1.
View the event log.
-> show /SP/logs/event/list
2.
View the audit log.
-> show /SP/logs/audit/list
Related Information
"Check the Message Buffer" on page 35
■
"View Log Files (Oracle Solaris)" on page 36
■
36
SPARC T8-4 Server Service Manual • January 2022
Need help?
Do you have a question about the SPARC T8-4 and is the answer not in the manual?
Questions and answers