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#
    
  • 相关阅读:
    信息的表示和处理
    Linux基础与Linux下C语言编程基础
    Linux基础入门
    第4次实验
    第三次实验
    第二次实验
    java第一次实验
    数据库提示日志文件不可用
    SQL Server 2012 列存储索引分析(翻译)
    修改delphi xe6 FMX Label字体颜色
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348298.html
Copyright © 2011-2022 走看看