Network Support | Netstat (Network Statistics)

Netstat is a command-line program that displays information about a computer’s current network connections and about the traffic generated by the various TCP/IP protocols.
On UNIX computers, the program is simply called netstat, and on Windows computers, it is called Netstat.exe. The command-line parameters differ for the various implementations of Netstat, but the information they display is roughly the same.



The syntax for the Windows version of Netstat.exe is as follows:

NETSTAT [interval] [-a] [-p protocol] [-n] [-e] [-r] [-s]

interval: Refreshes the display every interval seconds until the user aborts the command.

  • -a: Displays the current network connections and the ports that are currently listening for incoming network connections.
  • -p: protocol Displays the currently active connections for the protocol specified by the protocol variable.
  • -n: When combined with other parameters, causes the program to identify computers using IP addresses instead of names.
  • -e: Displays incoming and outgoing traffic statistics for the network interface, broken down into bytes, unicast packets, non-unicast packets, discards, errors, and unknown protocols.
  • -r: Displays the routing table, plus the current active connections.
  • -s: Displays detailed network traffic statistics for the IP, ICMP, TCP and UDP protocols.


Post a Comment

http://www.basicnetworking.org/

Copyright © Basic Networking | Terms and Conditions | Privacy Policy