gabriel rosenkoetter on Mon, 15 Jul 2002 05:20:10 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] how to tell which process binds to which port?


On Sun, Jul 14, 2002 at 01:53:54PM -0400, Fred K Ollinger wrote:
> I have a strange process binding to port 868 (unknown). I wonder how to
> find out what process is bound there so I can destroy it.

The suggestions already given (fuser(1) and netstat(8)) are both
good. You could also try lsof(8) (which is a third-party utility
Linux distros frequently use).

In the BSD world, we've got fstat(1), which does the same thing as
lsof(8), but is part of the standard distribution. ;^P

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpe3tOycVDQI.pgp
Description: PGP signature