diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-08-25 20:10:47 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2005-08-25 20:10:47 +0000 |
commit | 70ffddc463ac470d1b8fd9404e35ca39f791fed2 (patch) | |
tree | 9019b1f7f2af404183efe8f1072177cd2721a4eb /usr.bin/pkill/pkill.1 | |
parent | b0bd2fdbab02ae0335a49239dfd3f7c377e14d9e (diff) | |
download | src-70ffddc463ac470d1b8fd9404e35ca39f791fed2.tar.gz src-70ffddc463ac470d1b8fd9404e35ca39f791fed2.zip |
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
Notes
Notes:
svn path=/head/; revision=149471
Diffstat (limited to 'usr.bin/pkill/pkill.1')
-rw-r--r-- | usr.bin/pkill/pkill.1 | 17 |
1 files changed, 10 insertions, 7 deletions
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. |