Re: Sysrq enhancement: process kill facility

Pavel Machek (pavel@suse.cz)
Sat, 9 Feb 2002 21:19:56 +0100


Hi!

> Here's something that myself and others at Cobalt Networks have found
> useful.
> It extends sysrq to support a way to manually kill a process. In debugging
> situations, we have found times where the system gets wedged, and we'ld like
> to avoid a reboot. Show tasks provides the pid information.
>
> You enter <alt>-<sysrq>-n ("nuke"), and then prompts for the pid. It
> supports
> backspace and control-U. On serial ports, it retains the same semantics:
> a break activates this as a sysrq sequence, but if more than 5-seconds pass
> without any input, it drops out of processing input as a sysrq.
>
> Feedback welcome, please cc: me directly.

Looks good to me; (maybe you could reuse from 'kIll' as killing of all
processes is hardly ever usefull).
Pavel

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/