[root@localhost init.d]# netstat -nltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN 2867/hpiod
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 3098/zabbix_agentd
tcp 0 0 0.0.0.0:707 0.0.0.0:* LISTEN 2645/rpc.statd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3233/mysqld
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2613/portmap
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2894/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN