Netstat

Netstat is a Linux command that can provide a tremendous amount of information about the status of the networking subsystem. You can use it e.g. for:


 * Killing sockets