Displays statistics for current TCP/IP connections.
netstat [-a] [-e] [-n] [-o] [-p protocol] [-r] [-s] [interval]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
[−a] | Displays all connections. |
[−e] | Displays Ethernet-related statistics. |
[−n] | Displays IP addresses and port numbers in numerical form. |
[−o] | Displays active TCP connections and shows the process ID for each connection. |
[−p protocol] | Shows connections for the specified TCP/IP protocol. |
[−r] | Displays the routing table. |
[−s] | Displays information organized by protocol. |
[interval] | Displays statistics at the specified interval (in seconds). |