ps aux|grep nginx
root 6543 0.0 0.0 44768 1212 ? Ss Dec23 0:00 nginx: master process nginx -c conf/nginx.conf
nobody 6544 0.0 0.0 45140 2116 ? S Dec23 0:00 nginx: worker process
root 15802 0.0 0.0 103332 888 pts/3 R+ 12:42 0:00 grep nginx
497 24246 0.0 0.0 43144 5736 ? S Dec23 0:00 nginx: worker process
497 24247 0.0 0.0 43144 6036 ? S Dec23 0:00 nginx: worker process
497 24248 0.0 0.0 39056 1712 ? S Dec23 0:00 nginx: cache manager process
nobody 31498 0.0 0.0 80884 2828 ? S Jan13 0:01 nginx: worker process
master process nginx -c conf/nginx.conf这行就是了
网友评论