netstat -ntpl
或者
ps -ef |grep nginx
查看master的进程号
终止进程 kill -QUIT pid
linux查看端口占用
原文:https://www.cnblogs.com/gcgc/p/10286676.html