List of netstat command
What is the 'netstat' command?
Netstat command used for displays protocol statistics and current TCP/IP network connections.
Netstat command used for displays protocol statistics and current TCP/IP network connections.
Command | Description |
netstat -a | Displays all connections and listening ports. |
netstat -b | Displays the executable involved in creating each connection or listening port.. |
netstat -e | Displays Ethernet statistics. |
netstat -f | Displays Fully Qualified Domain Names(FQDN)for foreign address. |
netstat -n | Displays addresses and port numbers in numerical form. |
netstat -o | Displays the owning process ID associated with each connection. |
netstat -p proto | Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. |
netstat -r | Displays the routing table. |
netstat -s | Displays per-protocol statistics. |
netstat -t | Displays the current connection offload state. |
netstat -v | When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables. |
interval | Redisplay statistics, pausing interval seconds between each display.(default=once only) Press CTRL+C to stop. |
No comments: