reboot

Paul Melson melson@scnc.holt.k12.mi.us
Thu, 4 May 2000 07:50:50 -0400


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