nginx 杀掉某个端口的所有进程 kill

for pid in $(lsof -ti :5081); do kill -9 $pid; done