Centos下直接yum -y install lsof安装lsof

查询指定端口 lsof -i:XX