netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multi-cast memberships
-a Show both listening and non-listening sockets
-r show routing table
-i show interface's tables
-l Show only listening sockets
-n don't resolve names
-p Show the PID and name of the program to which each socket belongs
-v show verbose
-e Display additional information
-g display multicast group memberships
-s display networking statistics (like SNMP)
-o display timers
-c continuous listing
-M display masqueraded connections
-F display Forwarding Information Base (default)
-C display routing cache instead of FIB