Header Ads

List of netstat command

What is the 'netstat' command?
Netstat command used for displays protocol statistics and current TCP/IP network connections.


netstat -aDisplays all connections and listening ports.
netstat -bDisplays the executable involved in creating each connection or listening port..
netstat -eDisplays Ethernet statistics.
netstat -fDisplays Fully Qualified Domain Names(FQDN)for foreign address.
netstat -nDisplays addresses and port numbers in numerical form.
netstat -oDisplays the owning process ID associated with each connection.
netstat -p protoShows 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 -rDisplays the routing table.
netstat -sDisplays per-protocol statistics.
netstat -tDisplays the current connection offload state.
netstat -vWhen used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables.
intervalRedisplay statistics, pausing interval seconds between each display.(default=once only) Press CTRL+C to stop.

No comments:

Powered by Blogger.