Results 1 to 3 of 3

Thread: netstat(1)

  1. #1
    Join Date
    Aug 2006
    Location
    Canada
    Beans
    386
    Distro
    Hardy Heron (Ubuntu Development)

    netstat(1)

    On netstat(8 ), to show the PID and program name I use
    Code:
    netstat -p
    . I looked at the man for netstat(1) (on os x 10.4) but can't find the equivalent or similar command. Does anyone know what if there is such a thing?

  2. #2
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: netstat(1)

    Yeah weird BSD. Try this in OS X to get something similar:

    Code:
    sudo lsof -i -P

  3. #3
    Join Date
    Aug 2006
    Location
    Canada
    Beans
    386
    Distro
    Hardy Heron (Ubuntu Development)

    Re: netstat(1)

    Quote Originally Posted by stmiller View Post
    Yeah weird BSD. Try this in OS X to get something similar:

    Code:
    sudo lsof -i -P
    Seems promising. Thanks a lot.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •