Usually the messages file in Solaris would be rotated and appended with a number in the end. I usually use this command to view the files in order.
The command I use is this:
#ls -1A /var/adm/mess* | sort -r | xargs cat | less
With this command all message files can be viewed at once, in the correct chronological order.
Saturday, May 2, 2009
View /var/adm/messages in order
Labels:
UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment