13 Uses for the netstat Command

The netstat networking command is a powerful tool for providing network analytics. In this Enable Sysadmin article, Tyler Carrigan looks at important usage basics for the network statistics (or netstat) tool.

Carrigan writes that netstat can be used for troubleshooting and configuration and also serve as a monitoring tool for connections over the network. “Both incoming and outgoing connections, routing tables, port listening, and usage statistics are common uses for this command,” he says. He goes on to detail 13 key ways to put netstat to work for you, including:

  • List all listening ports
  • List only TCP port connections
  • List only UDP port connections
  • List all actively listening ports
  • Pull statistics by protocol

Read more at Enable Sysadmin

Comments