nginx 查找安装路径

8 3月

nginx 查找安装路径

 使用进程查找命令:

ps  -ef | grep nginx 

[email protected]:~/oneinstack# ps -ef | grep nginx;
root 18289 1 0 20:58 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
www 18291 18289 0 20:58 ? 00:00:00 nginx: worker process
root 18315 16053 0 21:00 pts/0 00:00:00 grep –color nginx

发表评论

电子邮件地址不会被公开。 必填项已用*标注