thiagomartins
(usa Debian)
Enviado em 22/06/2010 - 16:00h
Amigão deu esse resultado aqui:
viana:~# netstat -antp
Conexões Internet Ativas (servidores e estabelecidas)
Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado PID/Program name
tcp 0 0 0.0.0.0:10050 0.0.0.0:* OUÃA 2637/zabbix_agentd
tcp 0 0 127.0.0.1:8100 0.0.0.0:* OUÃA 5790/.python.bin
tcp 0 0 0.0.0.0:51236 0.0.0.0:* OUÃA 1667/rpc.statd
tcp 0 0 0.0.0.0:1863 0.0.0.0:* OUÃA 2583/msn-proxy
tcp 0 0 127.0.0.1:3306 0.0.0.0:* OUÃA 2078/mysqld
tcp 0 0 0.0.0.0:3307 0.0.0.0:* OUÃA 5733/mysqld.bin
tcp 0 0 0.0.0.0:111 0.0.0.0:* OUÃA 1655/portmap
tcp 0 0 0.0.0.0:10000 0.0.0.0:* OUÃA 3823/perl
tcp 0 0 0.0.0.0:8080 0.0.0.0:* OUÃA 2730/dansguardian
tcp 0 0 0.0.0.0:22 0.0.0.0:* OUÃA 1935/sshd
tcp 0 0 0.0.0.0:3128 0.0.0.0:* OUÃA 2690/(squid)
tcp 0 0 127.0.0.1:25 0.0.0.0:* OUÃA 2558/exim4
tcp 0 0 127.0.0.1:51665 127.0.0.1:3128 TIME_WAIT -
tcp 0 0 127.0.0.1:51660 127.0.0.1:3128 ESTABELECIDA 7633/dansguardian
tcp 0 0 201.78.132.140:22 78.131.140.5:57010 TIME_WAIT -
tcp 0 0 201.78.132.140:45146 204.124.183.196:80 ESTABELECIDA 2690/(squid)
tcp 0 0 192.168.1.253:8080 192.168.1.71:1583 ESTABELECIDA 7633/dansguardian
tcp 0 0 127.0.0.1:3128 192.168.1.253:51666 ESTABELECIDA 2690/(squid)
tcp 0 0 127.0.0.1:3128 192.168.1.253:51660 ESTABELECIDA 2690/(squid)
tcp 0 0 192.168.1.253:25349 192.168.1.56:1048 ESTABELECIDA 2583/msn-proxy
tcp 0 0 127.0.0.1:3128 192.168.1.253:51662 ESTABELECIDA 2690/(squid)
tcp 0 0 201.78.132.140:48969 200.175.182.195:443 ESTABELECIDA 2690/(squid)
tcp 0 0 127.0.0.1:3128 192.168.1.253:51661 ESTABELECIDA 2690/(squid)
tcp 0 0 201.78.132.140:38897 65.54.50.220:1863 ESTABELECIDA 2583/msn-proxy
tcp 0 0 201.78.132.140:22 78.131.140.5:36280 ESTABELECIDA 12636/sshd: unknown
tcp 0 148 192.168.1.253:22 192.168.1.62:2358 ESTABELECIDA 2620/0
tcp 0 0 201.78.132.140:37454 200.175.182.195:443 ESTABELECIDA 2690/(squid)
tcp 0 0 192.168.1.253:8080 192.168.1.71:1584 ESTABELECIDA 2950/dansguardian
tcp 0 0 192.168.1.253:28405 192.168.1.61:1239 ESTABELECIDA 2583/msn-proxy
tcp 0 0 127.0.0.1:51661 127.0.0.1:3128 ESTABELECIDA 8397/dansguardian
tcp 0 0 201.78.132.140:22 78.131.140.5:58391 TIME_WAIT -
tcp 0 0 201.78.132.140:44967 65.54.49.133:1863 ESTABELECIDA 2583/msn-proxy
tcp 0 0 192.168.1.253:8080 192.168.1.59:1259 ESTABELECIDA 8397/dansguardian
tcp 0 0 127.0.0.1:51662 127.0.0.1:3128 ESTABELECIDA 8628/dansguardian
tcp 0 0 127.0.0.1:3128 192.168.1.253:51663 ESTABELECIDA 2690/(squid)
tcp 0 0 127.0.0.1:51663 127.0.0.1:3128 ESTABELECIDA 2950/dansguardian
tcp 0 0 201.78.132.140:45868 200.175.182.195:443 ESTABELECIDA 2690/(squid)
tcp 0 0 192.168.1.253:28167 192.168.1.60:1048 ESTABELECIDA 2583/msn-proxy
tcp 0 0 192.168.1.253:8080 192.168.1.70:2201 ESTABELECIDA 8627/dansguardian
tcp 0 0 201.78.132.140:58588 200.175.182.195:443 ESTABELECIDA 2690/(squid)
tcp 0 0 192.168.1.253:8080 192.168.1.59:1260 ESTABELECIDA 8628/dansguardian
tcp 0 0 127.0.0.1:51666 127.0.0.1:3128 ESTABELECIDA 8627/dansguardian
tcp 0 0 192.168.1.253:8080 192.168.1.70:2198 TIME_WAIT -
tcp 0 0 201.78.132.140:44079 65.54.49.142:1863 ESTABELECIDA 2583/msn-proxy
tcp6 0 0 :::7777 :::* OUÃA 2615/java
tcp6 0 0 :::9090 :::* OUÃA 2615/java
tcp6 0 0 :::9091 :::* OUÃA 2615/java
tcp6 0 0 :::5222 :::* OUÃA 2615/java
tcp6 0 0 :::5223 :::* OUÃA 2615/java
tcp6 0 0 :::5229 :::* OUÃA 2615/java
tcp6 0 0 :::80 :::* OUÃA 6342/apache2
tcp6 0 0 :::7443 :::* OUÃA 2615/java
tcp6 0 0 :::5269 :::* OUÃA 2615/java
tcp6 0 0 :::22 :::* OUÃA 1935/sshd
tcp6 0 0 :::3000 :::* OUÃA 2599/ntop
tcp6 0 0 :::7070 :::* OUÃA 2615/java
tcp6 0 68 201.78.132.140:5222 189.2.157.235:1682 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.108.25.228:60153 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.108.25.228:49514 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.62:2411 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52553 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52521 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.56:1026 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52554 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.108.25.228:60148 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.63:2313 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52559 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52558 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.2.157.235:1182 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.54:1025 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.64:1027 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.58:1036 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52510 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 200.180.83.2:61429 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.52:1027 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.69:1025 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.70:1048 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.51:1029 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52556 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.108.25.228:40614 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.53:1025 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.61:1028 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.2.157.235:1085 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.108.25.228:60147 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52511 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.108.25.228:60135 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.2.157.235:1082 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.65:1025 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.55:1026 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 201.19.81.230:60933 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52557 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 189.2.157.235:1072 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.60:1036 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:5222 192.168.1.71:1025 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 200.161.117.13:1140 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52529 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 201.78.132.140:5222 200.180.83.2:63275 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52555 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52550 192.168.1.254:3306 ESTABELECIDA 2615/java
tcp6 0 0 192.168.1.253:52530 192.168.1.254:3306 ESTABELECIDA 2615/java
viana:~#
Isso quer dizer o que? Só para listar as portas em uso no sistema?