On 6 Apr 2000 17:58:11 -0400, Steve Feehan <[EMAIL PROTECTED]> wrote:
>On Thu, 6 Apr 2000, Brian wrote:
>
>> On Thu, 6 Apr 2000, Perry J. Blalock wrote:
>> 
>> > Hello,
>> > 
>> > I have something that appeared and is listening on port 1026, but I
>> > don't know what it might be.  Is there any way to determine what
>> > binary is using this port?
>> 
>> lsof should be able to tell you that.
>> 
>
>or if lsof isn't installed you can do:
>
> $ netstat -anp | grep LISTEN
>
>and that will show you list of all ports in the LISTEN state along with
>the process associated with the port.

Easiest way so far:

        fuser -uv 1026/tcp

(You may need to specify the full path to fuser, if you don't keep the
sbin dirs on your $PATH.)
-- Elliot
"Moron of the week" for four years running


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to