Open port

Vince Hillier vince-WxfNDWQh5LNIo2TaICnI/Q at public.gmane.org
Thu Apr 27 00:06:45 UTC 2006


William O'Higgins Witteman wrote:

>On Wed, Apr 26, 2006 at 11:56:44AM -0400, Neil Watson wrote:
>  
>
>>What does netstat tell you? 
>>    
>>
>
>It doesn't tell *me* anything - I don't know what the results mean, or
>how to interpret them.  If it would help you though, here is the output
>from netstat -l (I'm hoping this is the right command):
>

Couple of things you can do:

1) as root run netstat -anp|grep 2628
2) fuser -n tcp 2628 (this will return the PID of the process bound to 
that port, then run ps on that pid)
3) lsof|grep processname (process name from step 2)
4) cat /proc/<PID>/cmdline (replace <PID> with the PID #).
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list