Hello Costa, To know how port is used by some program do this:
# netstat -ln
Get port number
# fuser -n tcp port number
This command gave to you the proces number that runs in this port.
Now:
# ps auxw | grep process number
Done!
Sample:
# netstat -ln
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN tcp
0 0 0.0.0.0:2090 0.0.0.0:* LISTEN
# fuser -n tcp 2090
2090/tcp: 5292 5293 5294 5295 5296
# ps auxw | grep 5292
henrique 5292 0.0 3.5 20012 4484 tty1 S 08:29 0:00 licq
Now I know that licq runs on port 5292
Sorry for my poor english
Regards,
Henrique
|Hi all,
|
|Anyone knows what 1025 udp stands for? This is a newly installed woody
|on a sparc classic.
|
--
Henrique Pedroni Neto
Administrador de Rede - ITAL (http://www.ital.org.br)
E-mail: [EMAIL PROTECTED]
UIN: 8146255
Dúvidas sobre Debian? Visite o Rau-Tu: http://rautu.cipsga.org.br
"One foot to rule them all" - GNOME
pgpbDJbggDOrN.pgp
Description: PGP signature

