The "netstat" command allows to monitor network connections, network packets statistic for each protocol, to display routing tables and statistics for network interfaces.
Syntax:
net -r print routing table net -i [clear] print interface table net -s print IP statistics net -s{rut} print protocol statistics (raw,udp,tcp) |
Parameters | Description |
---|---|
-r | Displays the content of the system routing tables. Flags for specific routes have the following meaning:
|
-i [clear] | Displays an information about each network interface in the system.
|
-s{rut} | Displays statistics for IP and ICMP packets.
|
Display the content of the system routing tables using the "-r" parameter.
| |
Reset the statistic of packets and display the information about network interfaces using the "netstat -i [clear]" command.
| |
Use the "-s" parameter to display packet statistic.
| |
Display statistic of UDP protocol packets using the "netstat -su" command.
|