linux查看端口占用

netstat -ntpl

  

或者

  ps -ef |grep nginx

  查看master的进程号

  

终止进程  kill -QUIT pid

原文地址:https://www.cnblogs.com/gcgc/p/10286676.html