Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2001 15:10:56 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jason Halbert <res02jw5@gte.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: kernel panic
Message-ID:  <20010102151056.C19572@fw.wintelcom.net>
In-Reply-To: <011f01c074fa$5a6f8d40$17622104@next>; from res02jw5@gte.net on Tue, Jan 02, 2001 at 08:26:56PM -0000
References:  <010f01c074eb$60fffe60$17622104@next> <20010102104221.W19572@fw.wintelcom.net> <011f01c074fa$5a6f8d40$17622104@next>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jason Halbert <res02jw5@gte.net> [010102 12:26] wrote:
> Previously on FreeBSD Questions "Alfred Perlstein" wrote:
> 
> > * Jason Halbert <res02jw5@gte.net> [010102 10:39] wrote:
> > > Hi everyone:
> > >
> > > Happy New Year =)
> > >
> > > Is there a way to have the server e-mail me when there is a kernel
> > > panic?  It seems to happen a lot and I don't know why. =\  I'm not
> > > always in front of the monitor to catch it and read what it says.
> > > But, I think it happens at high cpu loads that or it doesn't like
> > > seti-at-home.  That's neither here nor there.
> >
> > Check the handbook for ways to get a crashdump and traceback to
> > use under the section "kernel debugging".
> >
> > If you want to be notified at reboot, i would just add a script
> > to /usr/local/etc/rc.d to email you whenever the machine reboots.
> >
> > --
> > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> > "I have the heart of a child; I keep it in a jar on my desk."
> 
> Hmm.. okay I could do that.  Not sure how to write the script though.
> Is there a way to find out why the machine re-booted?  Like if it was
> a kernel panic or someone actually did a "shutdown" ?

I'm sure there's a way to use rc.shutdown or shutdown scripts in
/usr/local/etc/rc.d somehow to erase a file that you created at
boot, if you boot and the file exists you probably didn't have
a clean shutdown.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010102151056.C19572>