Re: dang: how to display the process ass'd with an active port

From: Tweax Daemon (tweaxor_at_hijra.homeunix.com)
Date: 02/18/04

  • Next message: res8ccze_at_verizon.net: "(no subject)"
    Date: Tue, 17 Feb 2004 17:23:32 -0600
    To: "Goodleaf, John M" <jgoodlea@fhcrc.org>
    
    

    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
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: res8ccze_at_verizon.net: "(no subject)"

    Relevant Pages