Accepted patch from Luc Gommans which explains why zombie and

deep sleep processes (Z and D) may be hidden from pidof
This commit is contained in:
Jesse Smith
2019-05-25 15:41:57 -03:00
parent cc464b1189
commit df1aec8981
3 changed files with 6 additions and 1 deletions

View File

@@ -89,6 +89,9 @@ 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.
.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.
.SH SEE ALSO
.BR shutdown (8),