Name
Active Connections Utility — \windows\system32\netstat.exe
Synopsis
This tool displays protocol statistics and current TCP/IP network
connections. See Section 7.2 in Chapter 7 for an
example. Type netstat
by itself to list the active
incoming and outgoing network connections, or use these options:
netstat [-a] [-e] [-nc] [-o] [-pproto
] [-r] [-s] [interval
]
Option |
Description |
---|---|
|
Display all connections and open ports. |
|
Display Ethernet statistics; can be combined with
|
|
Display addresses and ports in numerical format (e.g. 192.168.0.1:88). |
|
Display the process that owns each listed connection. |
|
Show the connections corresponding the protocol;
|
|
Display the routing table. |
|
Display statistics for each protocol. By default, statistics are shown for all protocols, but this can be filtered with the -p option. |
|
Repeatedly run netstat, pausing |
Get Windows XP Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.