The Netstat Command: Monitor and Troubleshoot Network Connections
Knowing which TCP connections are active on a host is one of the fastest ways to catch a problem before it becomes an incident. An unexplained outbound connection can mean malware. A port stuck in the wrong state can mean a misbehaving application. The netstat command gives you visibility into both, on Windows and Linux...