请问一下在nginx中的pid是什么?

nginx中的pid是什么


有只小跳蛙
浏览 1983回答 4
4回答

胡说叔叔

方法也就是nginx -c /path/to/config/file) //在我机器上是这样的/alidata/server/nginx/sbin/nginx -c /alidata/server/nginx/conf/nginx.conf

慕尼黑8549860

[root@iZ259r7h4pfZ ~]# ps aux|grep nginxroot 961 0.0 0.0 46288 1480 ? Ss Mar19 0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf[root@iZ259r7h4pfZ ~]# lsof -p 961COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEnginx 961 root cwd DIR 202,1 4096 2 /nginx 961 root rtd DIR 202,1 4096 2 /nginx 961 root txt REG 202,1 5027882 1078631 /usr/local/nginx/sbin/nginx
打开App,查看更多内容
随时随地看视频慕课网APP