netstat

netstat stands for network statistics. This command displays incoming and outgoing network connections as well as other network information.

It’s available on Windows, Mac, and Linux — each version has its own command-line options you can tweak to see different types of information.

The netstat utility can show you the open connections on your computer, which programs are making which connections, how much data is being transmitted, and other information.

Netstat shows IP-based connection information on a Windows or Linux computer.

netstat (network statistics) is a command-line tool that displays network connections for the Transmission Control Protocol (both incoming and outgoing), routing tables, and a number of network interface (network interface controller or software-defined network interface) and network protocol statistics.

Parameter
Purpose

-a
This option displays all of a PC’s active IP-based sessions, along with the TCP and UDP ports of each session.
-b
This option shows you the names of the program that opened up a session.
-e
This option shows statistical information for an interface’s IP-based traffic, such as the number of bytes sent and received.
-f
This option displays fully qualified domain names (FQDN) of destination addresses appearing in a listing of active sessions.
-p proto
This option displays connections for a specific protocol, which might be icmp, icmpv6, ip, ipv6, tcp, tcpv6, udp, or udpv6.
-r
This option displays a PC’s IP routing table. Note: This command generates the same output as the route print command.
-s
This option displays statistical information for the following protocols: icmpv4, icmpv6, ipv4, ipv6, tcpv4, tcpv6, udpv4, and udpv6.

 

 

 

 

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.