Clarified pidof manual page to indicate pidof does not make multiple hops

through symbolic links.
This commit is contained in:
Jesse 2023-03-28 10:46:02 -03:00
parent b6aacf3b68
commit e7f4361bde

View File

@ -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 as the program you're after but are actually other programs. Note
that the executable name of running processes is calculated with that the executable name of running processes is calculated with
.BR readlink (2), .BR readlink (2),
so symbolic links to executables will also match. so symbolic links to executables will also match. However, symbolic links to symbolic links will not match.
.PP .PP
Zombie processes or processes in disk sleep (states Z and D, respectively) 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. are ignored, as attempts to access the stats of these will sometimes fail.