[RFC] [patch] pkill verbose option
jhell
jhell at DataIX.net
Wed Feb 3 17:52:38 UTC 2010
On Wed, 3 Feb 2010 10:00, eitanadlerlist@ wrote:
> I added an option to pkill which lists what processes it kills and what
> signal is sent. If no signals are sent it prints out the same message
> killall does.
>
Unfortunately that patch works but has unintended operation that can be
seen with the following.
sleep 1000 &
pkill sleep
No matching processes belonging to you were found
[1]+ Terminated: 15 sleep 10000
It then kills sleep and still prints no processes belong to you message.
Now pkill -v sleep on my system actually causes my Xserver to exit with a
unexpected signal 15.
Without the patches it works as it should...
Overhead endured.
--
jhell
More information about the freebsd-hackers
mailing list