On Tue, 4 Jan 2005 10:07:00 -0600
Brian Henning <[EMAIL PROTECTED]> wrote:

Hi,

> I have a xvfb process that needs a network port (6112 I think), but
> there is a process already using the port. The problem is that I don't
> know what the process is that is using it. Is there a way in unix to
> tell what process is using a specific network port.

fstat(1) and sockstat(1) will show you that info.

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>     | lea     gfx_lib(pc),a1
http://www.energyhq.es.eu.org                | moveq   #0,d0
PGP Key: 0xDC8514F1                          | move.l  4.w,a6
I reject all mail from hosts that use SORBS  | jsr     -552(a6)

Attachment: pgpaQIvTLulOC.pgp
Description: PGP signature

Reply via email to