Commit 69f4b6ec authored by Craig Small's avatar Craig Small

docs: Note limitation of finding scripts in pidof.1

pidof will miss scripts that are run a certain way due to how
they appear in procfs. This is just a note to say it might miss

parent d4a9a1e5
......@@ -15,7 +15,7 @@
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.TH PIDOF 1 "24 Jul 2013" "" "User Commands"
.TH PIDOF 1 "2018-03-03" "" "User Commands"
pidof -- find the process ID of a running program.
......@@ -60,6 +60,13 @@ At least one program was found with the requested name.
.B 1
No program was found with the requested name.
When using the \fI\-x\fP option,
.B pidof
only has a simple method for detecting scripts and will miss scripts that,
for example, use env. This limitation is due to how the scripts look in
the proc filesystem.
.BR pgrep (1),
.BR pkill (1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment