Ranga Nathan writes:
>Yesterday I had a strange incidence. A linux guest I was using to recover
>another linux guest went down with no reason. It went down after I left
>work. I am not able to find any trail of how and why. None of my
>colleagues would have done this.
>
> Could someone suggest where I can find a log of start-up and shutdown
>(other than dmesg, which is for the current session). Or perhaps z/VM may
>have a log of the user session, just in case someone accidentally logged
>off?
Try the last(1) command, which along with showing user logins/logouts also
shows system boots and shutdowns. This won't tell you what happened, but
it will tell you when the system went down (if it was shut down or
rebooted) and when it came back up. From those times you can look at the
logfiles in /var/log, particularly /var/log/messages, and see what was
going on when it went down.
Or you can try looking back in the logs to see when various services were
started up again, and assume that the messages before them were logged just
before the crash. /var/log/messages, /var/log/warn, and /var/log/security
are good starting places.
- MacK.
-----
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390