查看php-fpm 或者nginx运行的用户

#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

原文链接:https://blog.csdn.net/weixin_37178320/article/details/106424457

posted @ 2021-02-27 16:38  飞鹰之歌  阅读(317)  评论(0编辑  收藏  举报