[root@PS-WEB vhost]# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN 1183/rsyslogd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1833/mysqld
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 1879/memcached
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1272/redis-server 1
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2571/nginx
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1923/wdcp
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1908/pure-ftpd (SER
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1263/sshd
tcp 0 0 0.0.0.0:88 0.0.0.0:* LISTEN 2584/httpd
tcp 0 0 127.0.0.1:88 127.0.0.1:48954 ESTABLISHED 2588/httpd
tcp 0 0 192.168.88.162:80 203.208.60.195:44927 ESTABLISHED 2574/nginx
tcp 0 1 192.168.88.162:39809 69.197.188.146:80 SYN_SENT 2588/httpd
tcp 0 0 127.0.0.1:48954 127.0.0.1:88 ESTABLISHED 2574/nginx
tcp 0 0 192.168.88.162:33828 192.168.0.46:514 ESTABLISHED 1183/rsyslogd
tcp 0 596 192.168.88.162:22 192.168.60.88:52767 ESTABLISHED 1974/sshd
使用netstat -antp 看看后面是什么程序打开的这个端口