Re: [RFC] un petite hack: /proc/*/ctl

From: Alexey Dobriyan
Date: Mon Nov 28 2005 - 20:18:42 EST


On Tue, Nov 29, 2005 at 12:23:19AM +0000, Chris Boot wrote:
> On 29 Nov 2005, at 0:28, Alexey Dobriyan wrote:
> >echo kill >/proc/$PID/ctl
> > send SIGKILL to process
> >
> >echo term >/proc/$PID/ctl
> > send SIGTERM to process
>
> Pardon me for my ignorance, but what's wrong with the following?
>
> kill -KILL $PID
> and
> kill -TERM $PID

kill(1) existence. Not that I'm seriously proposing patch for inclusion.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/