Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 09:24:30 +0000 (UTC)
From:      Jason Spiro <jasonspiro4@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [RFC] [patch] pkill verbose option
Message-ID:  <loom.20100204T102100-858@post.gmane.org>
References:  <a0777e081002030700l53d9cae2v74a181315ed55277@mail.gmail.com> <alpine.BSF.2.00.1002031246160.37629@pragry.qngnvk.ybpny>

next in thread | previous in thread | raw e-mail | index | archive | help
jhell <jhell <at> DataIX.net> writes:

[snip]
>
> Now pkill -v sleep on my system actually causes my Xserver to exit with a 
> unexpected signal 15.

Yes.  "pkill -v sleep" kills all your own processes except for sleep.  As root,
it kills all processes running on your machine except for sleep.

-V is not a good choice of letter for this option:  it's too easy to write -v
instead by accident.  -l (dash-ell), as jhell has suggested elsewhere in this
thread, would be ideal, since it's lowercase and easy to type.  If you don't
like -l, you could choose to make it -D (for "Debug") instead.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20100204T102100-858>