nginx中的pid是什么
4 回答

胡說叔叔
TA貢獻1804條經驗 獲得超8個贊
方法
也就是nginx -c /path/to/config/file) //在我機器上是這樣的/alidata/server/nginx/sbin/nginx -c /alidata/server/nginx/conf/nginx.conf

慕尼黑8549860
TA貢獻1818條經驗 獲得超11個贊
[root@iZ259r7h4pfZ ~]# ps aux|grep nginx
root 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 961
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 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
- 4 回答
- 0 關注
- 2102 瀏覽
添加回答
舉報
0/150
提交
取消