美文网首页
Linux下如何查看定位当前正在运行的Nginx的配置文件

Linux下如何查看定位当前正在运行的Nginx的配置文件

作者: 凤箫之舞 | 来源:发表于2019-12-24 13:16 被阅读0次

ps aux|grep nginx

root 6543 0.0 0.0 44768 1212 ? Ss Dec23 0:00 nginx: master process nginx -c conf/nginx.conf
nobody 6544 0.0 0.0 45140 2116 ? S Dec23 0:00 nginx: worker process
root 15802 0.0 0.0 103332 888 pts/3 R+ 12:42 0:00 grep nginx
497 24246 0.0 0.0 43144 5736 ? S Dec23 0:00 nginx: worker process
497 24247 0.0 0.0 43144 6036 ? S Dec23 0:00 nginx: worker process
497 24248 0.0 0.0 39056 1712 ? S Dec23 0:00 nginx: cache manager process
nobody 31498 0.0 0.0 80884 2828 ? S Jan13 0:01 nginx: worker process

master process nginx -c conf/nginx.conf这行就是了

相关文章

网友评论

      本文标题:Linux下如何查看定位当前正在运行的Nginx的配置文件

      本文链接:https://www.haomeiwen.com/subject/luaxoctx.html