Netstat
displays the protocol statistics and current TCP/IP connections on the local system. Used without any switches, the netstat command shows the active connections for all outbound TCP/IP connections.

Switch | Description
-a |  Displays the current connections and listening ports
-e |  Displays Ethernet statistics
-n |  Lists addresses and port numbers in numeric form
-p |  Shows connections for the specified protocol
-r |  Shows the routing table
-s |  Lists per-protocol statistics
interval |  Specifies how long to wait before redisplaying statistics