Terminal Commands: Networking related commands?

Discussion in 'macOS' started by MacNoobGuy, Oct 26, 2012.

  1. MacNoobGuy macrumors 6502

    Joined:
    Apr 18, 2012
    #1
    hi all, i've been wanting to get more involved with the Terminal, but i'm not sure where i can find information on it.

    right now i really want to work with Networking commands and see how much data my Mac is sending and receiving for example. i also want to see how many connections my Mac has via the Terminal as well.

    thanks a lot!
     
  2. HenryAZ macrumors 6502

    HenryAZ

    Joined:
    Jan 9, 2010
    Location:
    South Congress AZ
    #2
    You can get started by typing

    man netstat
     
  3. MacNoobGuy, Oct 26, 2012
    Last edited: Oct 26, 2012

    MacNoobGuy thread starter macrumors 6502

    Joined:
    Apr 18, 2012
    #3
    ok, thanks.

    is there a guide online or a good book people could recommend?
     
  4. HenryAZ macrumors 6502

    HenryAZ

    Joined:
    Jan 9, 2010
    Location:
    South Congress AZ
    #4

    There are lots of books, but the man(ual) pages shouldn't be overlooked as a good source. The manual page for netstat, for example, at the end under "SEE ALSO", references 13 other manual pages directly related to networking commands. Take all of those in and you will have a very good idea of how to monitor your system.

    OS X has some good utilities, too, that are just graphical representations of what you can access in Terminal. Activity Monitor and Network Utility, for example.

    Learn about your Console logs. When you don't understand an entry, find out what it means. The discovery process will teach you a lot.
     

Share This Page