[root@lionking asterisk]# netstat -lp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32768 *:* LISTEN 993/rpc.statd tcp 0 0 localhost:32769 *:* LISTEN 1121/xinetd tcp 0 0 *:mysql *:* LISTEN 1260/mysqld tcp 0 0 *:sunrpc *:* LISTEN 974/portmap tcp 0 0 *:ssh *:* LISTEN 1107/sshd tcp 0 0 localhost:ipp *:* LISTEN 1184/cupsd tcp 0 0 localhost:smtp *:* LISTEN 1145/sendmail: acce udp 0 0 *:32768 *:* 993/rpc.statd udp 0 0 *:4569 *:* 1090/asterisk udp 0 0 *:745 *:* 993/rpc.statd udp 0 0 *:sunrpc *:* 974/portmap udp 0 0 *:631 *:* 1184/cupsd Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 1540 1164/gpm /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 1385 1090/asterisk /var/run/asterisk.ctl unix 2 [ ACC ] STREAM LISTENING 1670 1260/mysqld /tmp/mysql.sock unix 2 [ ACC ] STREAM LISTENING 1701 1288/xfs /tmp/.font-unix/fs7100 [root@lionking asterisk]#