- 论坛徽章:
- 0
|
NETSTAT 主要用来判断网络协议,路由表,端口使用状况等。与PING不一样的哦。\r\n\r\nNETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]\r\n\r\n -a Displays all connections and listening ports.\r\n -e Displays Ethernet statistics. This may be combined with the -s\r\n option.\r\n -n Displays addresses and port numbers in numerical form.\r\n -p proto Shows connections for the protocol specified by proto; proto\r\n may be TCP or UDP. If used with the -s option to display\r\n per-protocol statistics, proto may be TCP, UDP, or IP.\r\n -r Displays the routing table.\r\n -s Displays per-protocol statistics. By default, statistics are\r\n shown for TCP, UDP and IP; the -p option may be used to specify\r\n a subset of the default.\r\n interval Redisplays selected statistics, pausing interval seconds\r\n between each display. Press CTRL+C to stop redisplaying\r\n statistics. If omitted, netstat will print the current\r\n configuration information once. |
|