netstat

netstat

查看网络状态
yum -y install net-tools
netstat -anp | grep service_name 查看某个服务的端口,需要root权限

转载于:https://www.cnblogs.com/0916m/p/11484569.html

你可能感兴趣的:(netstat)