[linux-elitists] netconsole module - kernel dmesg-over-network logging
Don Marti
dmarti@zgp.org
Fri Dec 12 09:07:34 PST 2008
begin Greg KH quotation of Thu, Dec 11, 2008 at 07:54:38PM -0800:
> On Thu, Dec 11, 2008 at 05:13:49PM -0800, Don Marti wrote:
> > begin Karsten M. Self quotation of Thu, Dec 11, 2008 at 02:38:22PM -0800:
> >
> > > For testing, you want to generate some kernel activity.
> > ....
> > > I'm open to other suggestions.
> >
> > A module that just does a printk and then refuses
> > to be inserted? Insmod it every time you want a
> > test line.
>
> Heh, Alt-sysrq-T is much nicer than having to insert kernel code. Or
> one of the other sysrq keys if you just want the kernel to output a line
> of text.
Yes, but with the module you can make it say whatever
you want.
Just looking at Documentation/sysrq.txt you
can do sysrq remotely too, without having to be at the
keyboard. This does a sync and logs two lines:
echo "echo s > /proc/sysrq-trigger" | sudo sh
--
Don Marti +1 510-814-0932
http://zgp.org/~dmarti/ +1 510-332-1587 mobile
dmarti@zgp.org
See you at OpenSource World: August 10-13, 2009 in San Francisco
More information about the linux-elitists
mailing list