zoukankan      html  css  js  c++  java
  • nginx reload

    子进程将会退出,生成新的子进程
    
    node1:/etc/nginx#ps -ef | grep nginx
    root      6391     1  0 11:44 ?        00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /etc/nginx/nginx_http.conf
    nobody    6392  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6393  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6394  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6395  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    nobody    6396  6391  0 11:44 ?        00:00:00 nginx: worker process                                    
    root      6398  6234  0 11:44 pts/0    00:00:00 grep nginx
    
    node1:/etc/nginx#/usr/local/nginx/sbin/nginx -s reload
    
    node1:/etc/nginx#ps -ef | grep nginx
    root      6391     1  0 11:44 ?        00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /etc/nginx/nginx_http.conf
    nobody    6400  6391  0 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6401  6391  1 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6402  6391  1 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6403  6391  4 11:45 ?        00:00:00 nginx: worker process                                    
    nobody    6404  6391  1 11:45 ?        00:00:00 nginx: worker process                                    
    root      6406  6234  0 11:45 pts/0    00:00:00 grep nginx
    node1:/etc/nginx#
    
  • 相关阅读:
    Counting Stars hdu
    Color it hdu
    steins;Gate
    原根
    3-idiots
    Tree
    洛谷P1352 没有上司的舞会
    洛谷P1131 时态同步
    洛谷P3177 树上染色
    Codeforces Round #617 (Div. 3)
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348298.html
Copyright © 2011-2022 走看看