为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

有只小跳蛙 2019-10-28 09:05:31
nginx中的pid是什么
查看完整描述

4 回答

?
胡说叔叔

TA贡献1804条经验 获得超8个赞

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

查看完整回答
反对 回复 2019-11-02
?
慕尼黑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

查看完整回答
反对 回复 2019-11-02
  • 4 回答
  • 0 关注
  • 1986 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信