summaryrefslogtreecommitdiffstats
path: root/usr.bin/pkill/pkill.1
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-11-16 10:36:44 +0000
committerpjd <pjd@FreeBSD.org>2005-11-16 10:36:44 +0000
commit2f35b6aa00d5b756cf4345ade163c222bdde6a6b (patch)
treecd0507bce4bd409b12214e18a7796bd4c4c165d8 /usr.bin/pkill/pkill.1
parent876e62604d0d9e20cbc1cc52e2f9b2a0c73fabe2 (diff)
downloadFreeBSD-src-2f35b6aa00d5b756cf4345ade163c222bdde6a6b.zip
FreeBSD-src-2f35b6aa00d5b756cf4345ade163c222bdde6a6b.tar.gz
I often find myself doing:
% pgrep <something> [to verify which processes match] % pkill <something> To speed such operation up, add -I option which works like rm(1)'s -i option (unfortunately -i is already used in pkill(1)), ie. pkill will ask for confirmation before killing each matching process. After adding -j, -F, -i, -S, -o and -L options and other improvements, I think I can add myself to the copyright header. Glanced at by: maintainer (gad)
Diffstat (limited to 'usr.bin/pkill/pkill.1')
-rw-r--r--usr.bin/pkill/pkill.14
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/pkill/pkill.1 b/usr.bin/pkill/pkill.1
index 2ece6aa..38c929f 100644
--- a/usr.bin/pkill/pkill.1
+++ b/usr.bin/pkill/pkill.1
@@ -60,7 +60,7 @@
.Ar pattern ...
.Nm pkill
.Op Fl Ar signal
-.Op Fl Lfinovx
+.Op Fl ILfinovx
.Op Fl F Ar pidfile
.Op Fl G Ar gid
.Op Fl M Ar core
@@ -95,6 +95,8 @@ file.
Restrict matches to processes with a real group ID in the comma-separated
list
.Ar gid .
+.It Fl I
+Request confirmation before attempting to kill each process.
.It Fl L
The
.Ar pidfile
OpenPOWER on IntegriCloud