2012计算机软件水平考试:网络管理员须掌握的常用命令7
-r 显示路由表。(和route print命令相同的功能)-s 显示按协议统计信息。默认地,显示 IP、
IPv6、ICMP、ICMPv6、TCP、TCPv6、UDP 和 UDPv6 的统计信息;
-p 选项用于指定默认情况的子集。
-v 与 -b 选项一起使用时将显示包含于
为所有可执行组件创建连接或监听端口的
组件。
interval重新显示选定统计信息,每次显示之间
暂停时间间隔(以秒计)。按 CTRL+C 停止重新
显示统计信息。如果省略,netstat 显示当前
配置信息(只显示一次)
Win2000
C:\>netstat /?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-p protoShows connections for the protocol specified by proto; proto
may be TCP or UDP.If used with the -s option to display
per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics.By default, statistics are
shown for TCP, UDP and IP; the -p option may be used to specify
a subset of the default.
intervalRedisplays selected statistics, pausing interval seconds
between each display.Press CTRL+C to stop redisplaying
statistics.If omitted, netstat will print the current
configuration information once.
页:
[1]