From 70ffddc463ac470d1b8fd9404e35ca39f791fed2 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 25 Aug 2005 20:10:47 +0000 Subject: Revert previous behaviour of '-F' option and add '-L' option, which will tell pkill(1)/pgrep(1) to try to flock(2) pidfile before reading PID from there. Discussed with: jhb, gad --- usr.bin/pkill/pkill.1 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'usr.bin/pkill/pkill.1') diff --git a/usr.bin/pkill/pkill.1 b/usr.bin/pkill/pkill.1 index badeb5906f6d..2ece6aaa23a7 100644 --- a/usr.bin/pkill/pkill.1 +++ b/usr.bin/pkill/pkill.1 @@ -44,7 +44,7 @@ .Nd find or signal processes by name .Sh SYNOPSIS .Nm pgrep -.Op Fl Sfilnovx +.Op Fl LSfilnovx .Op Fl F Ar pidfile .Op Fl G Ar gid .Op Fl M Ar core @@ -60,7 +60,7 @@ .Ar pattern ... .Nm pkill .Op Fl Ar signal -.Op Fl finovx +.Op Fl Lfinovx .Op Fl F Ar pidfile .Op Fl G Ar gid .Op Fl M Ar core @@ -91,16 +91,19 @@ The following options are available: Restrict matches to a process whose PID is stored in the .Ar pidfile file. +.It Fl G Ar gid +Restrict matches to processes with a real group ID in the comma-separated +list +.Ar gid . +.It Fl L The .Ar pidfile -file must be locked with the +file given for the +.Fl F +option must be locked with the .Xr flock 2 syscall or created with .Xr pidfile 3 . -.It Fl G Ar gid -Restrict matches to processes with a real group ID in the comma-separated -list -.Ar gid . .It Fl M Ar core Extract values associated with the name list from the specified core instead of the currently running system. -- cgit v1.2.3