Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2017 23:38:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215781] Calling pgrep "javafrom java process
Message-ID:  <bug-215781-8-xbxX54VMhy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215781-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215781-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215781

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #2 from Jilles Tjoelker <jilles@FreeBSD.org> ---
Unless the -a option is used, pgrep and pkill do not find any ancestor
processes. This is documented if you read the man page fully, but might be
slightly unexpected. On the other hand, why use pgrep to find the current s=
hell
process?

The commit message that added this (SVN r192242) states:

"When finding processes, ignore ourself and our ancestors.  It is almost
always surprising when you kill a 'sh -c ...' ancestor or when you kill
yourself when using -f."

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215781-8-xbxX54VMhy>