summaryrefslogtreecommitdiffstats
path: root/bin/pkill/pkill.1
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2013-08-09 08:38:51 +0000
committertrasz <trasz@FreeBSD.org>2013-08-09 08:38:51 +0000
commit9d86b16a9e419dce7efd57b0d1465200c8b5a218 (patch)
tree523d4b0e39f6e2a16178a467e6abf30b3222d7be /bin/pkill/pkill.1
parent6f05d223ad0f2f12ff57abe71a39c7000c3b5c4b (diff)
downloadFreeBSD-src-9d86b16a9e419dce7efd57b0d1465200c8b5a218.zip
FreeBSD-src-9d86b16a9e419dce7efd57b0d1465200c8b5a218.tar.gz
Add -c flag to pgrep(1) and pkill(1), to match login classes.
MFC after: 1 month
Diffstat (limited to 'bin/pkill/pkill.1')
-rw-r--r--bin/pkill/pkill.17
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/pkill/pkill.1 b/bin/pkill/pkill.1
index db7d78c..1ca383f 100644
--- a/bin/pkill/pkill.1
+++ b/bin/pkill/pkill.1
@@ -29,7 +29,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd February 11, 2010
+.Dd August 9, 2013
.Dt PKILL 1
.Os
.Sh NAME
@@ -44,6 +44,7 @@
.Op Fl N Ar system
.Op Fl P Ar ppid
.Op Fl U Ar uid
+.Op Fl c Ar class
.Op Fl d Ar delim
.Op Fl g Ar pgrp
.Op Fl j Ar jid
@@ -60,6 +61,7 @@
.Op Fl N Ar system
.Op Fl P Ar ppid
.Op Fl U Ar uid
+.Op Fl c Ar class
.Op Fl g Ar pgrp
.Op Fl j Ar jid
.Op Fl s Ar sid
@@ -130,6 +132,9 @@ or
process and all of its ancestors are excluded (unless
.Fl v
is used).
+.It Fl c Ar class
+Restrict matches to processes running with specified login class
+.Ar class .
.It Fl f
Match against full argument lists.
The default is to match against process names.
OpenPOWER on IntegriCloud