linux查看占用端口
23 August 2016
netstat -tunlp | grep 80
# netstat -tunlp |grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1672/nginx: master
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1582/java
tcp6 0 0 :::80 :::* LISTEN 1672/nginx: master
tcp6 0 0 :::9080 :::* LISTEN 26771/docker-proxy