[patch] add pwait utility

Jilles Tjoelker jilles at stack.nl
Sat Nov 7 20:19:55 UTC 2009


On Sat, Nov 07, 2009 at 03:01:36PM +0200, Kostik Belousov wrote:
> On Sat, Nov 07, 2009 at 11:28:32AM +0100, Gary Jennejohn wrote:
> > On Fri, 6 Nov 2009 23:24:46 +0100
> > Jilles Tjoelker <jilles at stack.nl> wrote:

> > > I propose adding a small new utility to /usr/bin: pwait. Similar to the
> > > Solaris utility of the same name, it waits for any process to terminate.

> > Why not /bin so it can be used before /usr is mounted?
> And it seems to make sense to add this functionality to pkill/pgrep
> binary, creating another hardlink to it.

Hmm, pwait's syntax is incompatible: it takes pids (pkill says: use
kill) and the -v option does something totally different.

-- 
Jilles Tjoelker


More information about the freebsd-hackers mailing list