Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 11:33:04 -0400
From:      James Housley <jim@thehousleys.net>
To:        K S Sreeram <sreeram@tachyontech.net>
Cc:        questions@freebsd.org
Subject:   Re: tcp ports
Message-ID:  <3B093530.4F3714D2@thehousleys.net>
References:  <MPEGJCJPPBKNCNBGOHGDAEPLDJAA.cschreiber@netrail.net> <0105212106210E.00615@ks.tachyon.tech>

next in thread | previous in thread | raw e-mail | index | archive | help
K S Sreeram wrote:
> 
> but the process i am running is a user process which will not be listed here.
> is there any command available to dynamically find out the process that is
> using a particular tcp/udp port
> 

Both netstat -a and sockstat will display what you are looking for.

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B093530.4F3714D2>