Subject: Re: pkill(1) a pid after timeout
To: None <email@example.com>
From: Jan Schaumann <firstname.lastname@example.org>
Date: 07/27/2007 08:29:06
Content-Type: text/plain; charset=us-ascii
Andrew Doran <email@example.com> wrote:
> On Thu, Jul 26, 2007 at 09:03:20PM -0700, Jan Schaumann wrote:
> > +.It Fl r Ar runtime
> > +Restrict matches to processes with a running time (ie wall clock) larg=
> > +.Ar runtime .
> Wall clock time is just that - time by the clock on the wall. Do you want=
> match based on accumulated CPU time or time since the process started?
In this instance, I happen to need time since the process started.
> My preference is not to see pkill continue to grow more and more options
> since it can be done with scripts easily enough, but a few more useful on=
> seems fine. I checked Solaris, Linux and the other BSDs, and none of them
> use -r.
Well, you're the author of the program, so I think it's fair you get to
decide. The patch I sent does what I needed; if others find it useful,
add it, else leave it out. No hard feelings one way or the other. :-)
You can blame it all on the Internet.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----