dang: how to display the process ass'd with an active port
Tweax Daemon
tweaxor at hijra.homeunix.com
Tue Feb 17 16:08:57 PST 2004
On Tue, Feb 17, 2004 at 03:48:38PM -0800, Goodleaf, John M wrote:
> Under 4.9, how can I tell which process is associated with a port? I've
> noticed a few oddball ports open on a machine, and I'd like to know which
> process did that. Seems straightforward and yet I don't know the answer.
>
netstat -an|grep LISTEN
more /etc/services
etc/services lists which service normally run on those ports
--
\ ||| /
++Pat | (o o)
++hijra.homeunix.com | ----oo0-(_)-0oo----
++To err is human, to forgive, beyond the scope of the Operating System.
GPG Fingerprint: 3D9B BDB8 E5AD 7F0C DA1D 299E DCE8 9915 44B9 005C
More information about the freebsd-newbies
mailing list