CODE
[root@secure ~]# netstat -alnp | more
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:2082 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:2086 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:2087 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 6351/mysqld
tcp 0 0 0.0.0.0:2095 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 5733/spamd.pid --ma
tcp 0 0 0.0.0.0:2096 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:1040 0.0.0.0:* LISTEN 6969/perl
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:2082 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:2086 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:2087 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 6351/mysqld
tcp 0 0 0.0.0.0:2095 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 5733/spamd.pid --ma
tcp 0 0 0.0.0.0:2096 0.0.0.0:* LISTEN 5914/cpsrvd - waiti
tcp 0 0 0.0.0.0:1040 0.0.0.0:* LISTEN 6969/perl
CODE
[root@secure ~]# lsof -p 6969
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
ipalert_s 6969 root cwd DIR 8,5 4096 2 /
ipalert_s 6969 root rtd DIR 8,5 4096 2 /
ipalert_s 6969 root txt REG 8,3 1004478 983203 /usr/bin/perl
ipalert_s 6969 root mem REG 8,3 104388 1443201 /usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
ipalert_s 6969 root mem REG 8,5 125736 950290 /lib/ld-2.5.so
ipalert_s 6969 root mem REG 8,5 1606808 950297 /lib/libc-2.5.so
ipalert_s 6969 root mem REG 8,5 16428 950321 /lib/libdl-2.5.so
ipalert_s 6969 root mem REG 8,5 208352 950305 /lib/libm-2.5.so
ipalert_s 6969 root mem REG 8,5 46680 950312 /lib/libnss_files-2.5.so
ipalert_s 6969 root mem REG 8,5 101404 950313 /lib/libnsl-2.5.so
ipalert_s 6969 root mem REG 8,5 45288 950325 /lib/libcrypt-2.5.so
ipalert_s 6969 root mem REG 8,3 22792 1443271 /usr/lib/perl5/5.8.8/i686-linux/auto/Socket/Socket.so
ipalert_s 6969 root mem REG 8,5 15164 950347 /lib/libutil-2.5.so
ipalert_s 6969 root mem REG 8,3 56430416 1182637 /usr/lib/locale/locale-archive
ipalert_s 6969 root 0u CHR 5,1 722 /dev/console
ipalert_s 6969 root 1u CHR 5,1 722 /dev/console
ipalert_s 6969 root 2u CHR 5,1 722 /dev/console
ipalert_s 6969 root 3u IPv4 14051 TCP *:netarx (LISTEN)
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
ipalert_s 6969 root cwd DIR 8,5 4096 2 /
ipalert_s 6969 root rtd DIR 8,5 4096 2 /
ipalert_s 6969 root txt REG 8,3 1004478 983203 /usr/bin/perl
ipalert_s 6969 root mem REG 8,3 104388 1443201 /usr/lib/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
ipalert_s 6969 root mem REG 8,5 125736 950290 /lib/ld-2.5.so
ipalert_s 6969 root mem REG 8,5 1606808 950297 /lib/libc-2.5.so
ipalert_s 6969 root mem REG 8,5 16428 950321 /lib/libdl-2.5.so
ipalert_s 6969 root mem REG 8,5 208352 950305 /lib/libm-2.5.so
ipalert_s 6969 root mem REG 8,5 46680 950312 /lib/libnss_files-2.5.so
ipalert_s 6969 root mem REG 8,5 101404 950313 /lib/libnsl-2.5.so
ipalert_s 6969 root mem REG 8,5 45288 950325 /lib/libcrypt-2.5.so
ipalert_s 6969 root mem REG 8,3 22792 1443271 /usr/lib/perl5/5.8.8/i686-linux/auto/Socket/Socket.so
ipalert_s 6969 root mem REG 8,5 15164 950347 /lib/libutil-2.5.so
ipalert_s 6969 root mem REG 8,3 56430416 1182637 /usr/lib/locale/locale-archive
ipalert_s 6969 root 0u CHR 5,1 722 /dev/console
ipalert_s 6969 root 1u CHR 5,1 722 /dev/console
ipalert_s 6969 root 2u CHR 5,1 722 /dev/console
ipalert_s 6969 root 3u IPv4 14051 TCP *:netarx (LISTEN)