1
[root@lx~]# vi /usr/local/nginx1.10/conf/nginx.conf
2
worker_processes 4;
3
[root@lx~]# /usr/local/nginx1.10/sbin/nginx-s reload
4
[root@lx~]# ps -aux | grep nginx |grep -v grep
5
root 9834 0.0 0.0 47556 1948 ? Ss 22:36 0:00 nginx: master processnginx
6
www 10135 0.0 0.0 50088 2004 ? S 22:58 0:00 nginx: worker process
7
www 10136 0.0 0.0 50088 2004 ? S 22:58 0:00 nginx: worker process
8
www 10137 0.0 0.0 50088 2004 ? S 22:58 0:00 nginx: worker process
9
www 10138 0.0 0.0 50088 2004 ? S 22:58 0:00 nginx: worker process