reboot
Daniel R . Kilbourne
daniel.kilbourne@voyager.net
Thu, 4 May 2000 08:38:23 -0400
or, the old-fashioned 'last' command to see who was logged in when it rebooted.....
On Thu, May 04, 2000 at 07:50:50AM -0400, Paul Melson wrote:
> On Thu, May 04, 2000 at 07:02:26AM -0400, Marcel Kunath wrote:
> > my system rebooted.
> >
> > how do I find out why it rebooted? I like to know if it crashed or was forced
> > by a person to do so. any possible way to do so?
>
> Check /var/log/messages for kernel messages.
> If the reboot was done correctly (Ctrl-Alt-Del
> or /sbin/reboot) you'll see a line like this:
>
> Mar 26 00:13:58 kubist init: Switching to runlevel: 6
>
> Although, in RedHat, it looks more like this:
>
> May 1 10:08:36 bigdaddy exiting on signal 15
>
> If it was a kernel panic or hard boot or
> something of that sort, the system won't
> have switched runlevels, so there won't be
> an init entry. There may be other useful
> kernel output, though, so make an educated
> guess at when the machine was rebooted
> (based on `uptime`) and see what's in the
> log file.
>
>
>
> PaulM
>
> --
> _____________________
> melson@holt.k12.mi.us
>
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
--
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Daniel R. Kilbourne
daniel.kilbourne@voyager.net
Voyager.net Network Engineer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^