Mac通过端口查进程号

sudo lsof -i tcp:8080
原文地址:https://www.cnblogs.com/qingmuchuanqi48/p/13976784.html