a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 95|回复: 0

[网络管理员] 2012计算机软件水平考试:网络管理员须掌握的常用命令7

[复制链接]
发表于 2012-8-2 08:55:16 | 显示全部楼层 |阅读模式
-r           显示路由表。(和route print命令相同的功能)
0 n# n1 X; x* q! @& t  -s           显示按协议统计信息。默认地,显示 IP、
9 _1 d# }: I' e$ U; |+ m                IPv6、ICMP、ICMPv6、TCP、TCPv6、UDP 和 UDPv6 的统计信息;1 E$ Q( W) X! Y! Q1 U
                -p 选项用于指定默认情况的子集。0 @4 }# Y& r/ R& N; X) I' i
  -v           与 -b 选项一起使用时将显示包含于
$ L# k0 U8 r# a* ]! a5 R- d  o                为所有可执行组件创建连接或监听端口的# j- [6 L8 {0 B* Y6 u
                组件。" g& L( r  y! S5 D
  interval  重新显示选定统计信息,每次显示之间; Q  {0 C, x0 Z1 J+ {
                暂停时间间隔(以秒计)。按 CTRL+C 停止重新& Z% b# M5 }1 L4 b# y- B- E: n
                显示统计信息。如果省略,netstat 显示当前3 f5 [. R4 K: p6 e0 |+ K
                配置信息(只显示一次)
: G& Y, p8 K. b) o$ H4 ^Win2000' p' s! ^7 b5 o+ L: a5 [+ {6 D
C:\>netstat /?
3 r! D2 e' C% B' mDisplays protocol statistics and current TCP/IP network connections.& s. J/ W0 H/ G7 b& @8 ?7 h
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]9 f0 [3 s  i. z$ ]
  -a            Displays all connections and listening ports.
- C; X* p/ e  {" m: k8 m7 B" ?  -e            Displays Ethernet statistics. This may be combined with the -s
- O" h) N" q. A; l$ v! J, u1 @                 option." j! Z$ R" j: x: C2 o2 d7 H% k7 d
  -n            Displays addresses and port numbers in numerical form.
) L* v9 v+ B+ a5 R* S  -p proto  Shows connections for the protocol specified by proto; proto
; _8 l5 S  ?, L6 Z8 S                 may be TCP or UDP.  If used with the -s option to display6 {# M4 R6 Y: A( U' P- D) M
                 per-protocol statistics, proto may be TCP, UDP, or IP.+ g0 s0 x" X- N, D
  -r            Displays the routing table.) W) {  L, n# g9 }" H' k
  -s            Displays per-protocol statistics.  By default, statistics are
5 @- e  ~1 S+ i                shown for TCP, UDP and IP; the -p option may be used to specify
- i* p! r" D# a                a subset of the default.1 \) J3 T. {; O: `: g8 v
  interval  Redisplays selected statistics, pausing interval seconds5 Z$ D; G: _. J" c) z
                between each display.  Press CTRL+C to stop redisplaying1 ^7 u6 H6 m& v$ F" F$ k& j  y
                statistics.  If omitted, netstat will print the current* C2 K7 }3 d& C
                configuration information once.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-5 13:37 , Processed in 0.167513 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表