pidof

最後更新: 2021-04-09

 


 

-s     Single shot - this instructs the program to only return one pid.

i.e.

pidof -s php-fpm