Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153815046
D51009.id157523.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D51009.id157523.diff
View Options
diff --git a/bin/pkill/pkill.1 b/bin/pkill/pkill.1
--- a/bin/pkill/pkill.1
+++ b/bin/pkill/pkill.1
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 5, 2020
+.Dd June 24, 2025
.Dt PKILL 1
.Os
.Sh NAME
@@ -71,12 +71,17 @@
.Nm pgrep
command searches the process table on the running system and prints the
process IDs of all processes that match the criteria given on the command
-line.
+line, excluding itself and all direct ancestors unless the
+.Fl a
+option is specified.
.Pp
The
.Nm pkill
command searches the process table on the running system and signals all
-processes that match the criteria given on the command line.
+processes that match the criteria given on the command line, excluding itself
+and all direct ancestors unless the
+.Fl a
+option is specified.
.Pp
The following options are available:
.Bl -tag -width ".Fl F Ar pidfile"
@@ -130,6 +135,16 @@
process and all of its ancestors are excluded (unless
.Fl v
is used).
+Note that the
+.Fl a
+option will not
+.Dq unhide
+the
+.Nm pgrep
+or
+.Nm pkill
+process itself, even with
+.Fl v .
.It Fl c Ar class
Restrict matches to processes running with specified login class
.Ar class .
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 11:40 PM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32097443
Default Alt Text
D51009.id157523.diff (1 KB)
Attached To
Mode
D51009: pkill: better document ancestor-hiding
Attached
Detach File
Event Timeline
Log In to Comment