Netstat sin PID
Agustí Queralt
agusti at semic.es
Wed May 18 10:03:13 UTC 2005
Has probado con el "ps" ?. Puedes jugar con un grep, awk ... Y un kill -15/-9
Ejemplo :
# ps -afx
2302 ? S 0:01 /usr/local/apache2/bin/httpd -k start
2309 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
2311 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
2312 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
2412 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
4302 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
14995 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
28107 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
28138 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
28147 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
25299 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
29138 ? S 0:00 \_ /usr/local/apache2/bin/httpd -k start
2322 ? S 0:01 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
2326 tty1 S 0:00 /sbin/mingetty tty1
2327 tty2 S 0:00 /sbin/mingetty tty2
8388 ? S 0:36 winbindd
8389 ? S 0:06 \_ winbindd
> -----Mensaje original-----
> De: fedora-es-list-bounces at redhat.com
> [mailto:fedora-es-list-bounces at redhat.com] En nombre de Jesus Bernabeu
> Enviado el: miércoles, 18 de mayo de 2005 11:46
> Para: fedora-es-list at redhat.com
> Asunto: Netstat sin PID
>
>
> Hola a todos:
>
> Al reiniciar servicios como proxy o apache se quedan las
> conexiones a medio
> cerrar con lo que al iniciarlas de nuevo me avisa que la
> dirección inet ya
> está en uso.
>
> Si hago un:
>
> # netstat -tnlup
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp 0 0 193.144.165.133:3128 0.0.0.0:*
> LISTEN -
>
>
> No sale el PID con lo que no puedo matar el proceso. La unica
> solución que
> tengo hasta ahora es reiniciar la máquina pero francamente
> muy practica no
> es.
>
> ¿Sugerencias?
>
>
> Saludos y muchas gracias de antemano por vuestra atención.
>
> Jesús
>
>
>
> --
> Fedora-es-list mailing list
> Fedora-es-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-es-list
>
More information about the Fedora-es-list
mailing list