Accepted patch from Mark Hindley which avoids clearing realpath information
in pidof when trying to find matching executables.
This commit is contained in:
1 parent
e7f4361bde
commit
c06458e1c1
3 files changed
+4
-2
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ that it returns PIDs of running programs that happen to have the same name
|
||||
as the program you're after but are actually other programs. Note
|
||||
that the executable name of running processes is calculated with
|
||||
.BR readlink (2),
|
||||
so symbolic links to executables will also match. However, symbolic links to symbolic links will not match.
|
||||
so symbolic links to executables will also match.
|
||||
.PP
|
||||
Zombie processes or processes in disk sleep (states Z and D, respectively)
|
||||
are ignored, as attempts to access the stats of these will sometimes fail.
|
||||
|
||||
Reference in new issue
Block a user