Subject: Re: kill(1) a pid after timeout
To: None <>
From: Jan Schaumann <>
List: tech-userlevel
Date: 07/24/2007 17:50:53
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Daniel Carosone <> 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

- ps
- 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.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.7 (NetBSD)