发布网友
共1个回答
热心网友
[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