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

From: Chris Boot
Date: Mon Nov 28 2005 - 19:22:47 EST


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

Thanks,
Chris

--
Chris Boot
bootc@xxxxxxxxx
http://www.bootc.net/


-
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/