linux 查看某程序有个进程

ps -ef | grep php-fpm

php-fpm 就是程序名