Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 17:16:36 +0100
From:      Miguel Mendez <flynn@energyhq.es.eu.org>
To:        Brian Henning <henninb@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: port process
Message-ID:  <20050104171636.63a7a1d7.flynn@energyhq.es.eu.org>
In-Reply-To: <47f8d9310501040807598aa18c@mail.gmail.com>
References:  <47f8d9310501040807598aa18c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Tue__4_Jan_2005_17_16_36_+0100_J8S87IjZjRKWgaEY
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Tue, 4 Jan 2005 10:07:00 -0600
Brian Henning <henninb@gmail.com> 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 <flynn@energyhq.es.eu.org>     | 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)


--Signature=_Tue__4_Jan_2005_17_16_36_+0100_J8S87IjZjRKWgaEY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB2sFnnLctrNyFFPERAikMAJwLoavgX/k5e0i/GDLaVEPYCrnSzwCgrv0Y
yR5YbiVgwa8MjWY97wUVwD8=
=02F9
-----END PGP SIGNATURE-----

--Signature=_Tue__4_Jan_2005_17_16_36_+0100_J8S87IjZjRKWgaEY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050104171636.63a7a1d7.flynn>