#nginx
ps aux | grep -v root | grep nginx | cut -d\ -f1 | sort | uniq
#php-fpm
ps aux | grep -v root | grep php-fpm | cut -d\ -f1 | sort | uniq
#nginx
ps aux | grep -v root | grep nginx | cut -d\ -f1 | sort | uniq
#php-fpm
ps aux | grep -v root | grep php-fpm | cut -d\ -f1 | sort | uniq
本文标题:查看php-fpm 或者nginx运行的用户
本文链接:https://www.haomeiwen.com/subject/yptvxktx.html
网友评论