linux下查看端口地址占用

查看端口是否被占用:
netstat -apn|grep port
查看被哪个进程占用:
lsof -i: port
查看具体进程
ps -ef|grep PID

猜你喜欢

转载自ipv6-hong.iteye.com/blog/1833005
今日推荐