Subject: Re: kill(1) a pid after timeout
To: None <email@example.com>
From: Jan Schaumann <firstname.lastname@example.org>
Date: 07/24/2007 17:50:53
Content-Type: text/plain; charset=us-ascii
Daniel Carosone <email@example.com> wrote:
> On Tue, Jul 24, 2007 at 03:36:30PM -0700, Jan Schaumann wrote:
> > I want to be able to kill processes that have not been started with a
> > fixed ulimit.
> That's why you can change the rlimits of running processes via sysctl.
Right, but so in this case I'd have to
- sysctl pid
- kill pid
This doesn't save me much work versus
- calculate timeout manually
- kill pids
So I'm lazy and want but one command to do that. :-)
Besides, SIGXCPU only counts CPU time -- I want "real" time.
Furthermore, I may want to send a different signal to a pid that's been
running for longer than <timeout>.
Information wants to be free.
Information wants to be useful.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----