Mac端口进程查询 yang 2020年4月16日 0 查看正在监听使用的端口命令: netstat -AaLlnW 查看之后如下: 看某个端口占用的pid命令: lsof -i:9501 结束该端口占用的进程命令: kill PID