lsof  -i

penso che è quello che cercavi?


http://www.assistenza-linux.com/
http://www.auyama.it/
----- Original Message ----- From: "leo5t" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 06, 2006 7:09 PM
Subject: Re: Netstat e simili


Il Mon, 06 Mar 2006 18:10:16 +0100, Pol Hallen ha scritto:

Salve a tutti,
periodicamente faccio un netstat -lpn (o -putan)
oggi per esempio vedo:

[...]
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:38319 0.0.0.0:* LISTEN
[...]

pid/program c'e' il simbolo -

come faccio a capire quali processi aprono quelle porte?

(anche con telnet si connette ma non riesco a capire quale programma sia
attivo)

Grazie :-)

Pol

Devi essere root, il comando che hai usato è giusto (l'opzione -p, per
vedere quale processo ha aperto la porta).
Con -l puoi vedere le porte in ascolto.

Ciao, Leo


--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
Per REVOCARE l'iscrizione alla lista, inviare un email a [EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a