[patch] add pwait utility

2009-11-12 Thread Alexander Best
thanks a lot. great little application. especially the -v switch is very useful to developers who need quick exit signal feedback from a closing/crashing app imo. would be great to see this committed to HEAD soon. cheers. alex ___

Re: [patch] add pwait utility

2009-11-07 Thread Gary Jennejohn
On Fri, 6 Nov 2009 23:24:46 +0100 Jilles Tjoelker jil...@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? --- Gary Jennejohn

Re: [patch] add pwait utility

2009-11-07 Thread Eugene Grosbein
On Fri, Nov 06, 2009 at 11:24:46PM +0100, Jilles Tjoelker 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. Some use cases I have in mind: * rc.subr's wait_for_pids. This is a cleaner and

Re: [patch] add pwait utility

2009-11-07 Thread Kostik Belousov
On Sat, Nov 07, 2009 at 11:28:32AM +0100, Gary Jennejohn wrote: On Fri, 6 Nov 2009 23:24:46 +0100 Jilles Tjoelker jil...@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.

Re: [patch] add pwait utility

2009-11-07 Thread Rui Paulo
On 7 Nov 2009, at 07:02, Ulrich Spörlein wrote: I understand that shutdown duration is of zero importance for server operations, FWIW, I don't agree with this. -- Rui Paulo ___ freebsd-hackers@freebsd.org mailing list

Re: [patch] add pwait utility

2009-11-07 Thread Jilles Tjoelker
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 jil...@stack.nl wrote: I propose adding a small new utility to /usr/bin: pwait. Similar to the Solaris

Re: [patch] add pwait utility

2009-11-07 Thread Doug Barton
Jilles Tjoelker wrote: 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 jil...@stack.nl wrote: I propose adding a small new utility to /usr/bin: pwait. Similar

Re: [patch] add pwait utility

2009-11-07 Thread Gabor Kovesdan
Jilles Tjoelker escribió: 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. That's not an issue. You

Re: [patch] add pwait utility

2009-11-06 Thread Ulrich Spörlein
On Fri, 06.11.2009 at 23:24:46 +0100, Jilles Tjoelker 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. Some use cases I have in mind: * rc.subr's wait_for_pids. This is a cleaner and more