Netstat is a command line utility that can be used to monitor both incoming and outgoing network connections as well as view routing tables  interface statistics  etc It can be used to list all the connected TCP and UDP socket connections and also list listening sockets that are waiting for incoming connections