官术网_书友最值得收藏!

  • 巧學活用網管工具
  • 杜劍坡主編
  • 251字
  • 2018-12-27 13:28:12

4.利用ping命令(-n參數)了解網絡健康狀況

“-n count”參數用于定義測試所發出的測試數據包的個數,其默認值為4。通過這個命令可以自定義發送測試ICMP數據包的個數,這對衡量網絡質量是很有幫助的。

例如:

            C:\WINDOWS>ping -n 10 192.168.1.188
            ping ing 192.168.1.188 with 32 bytes of data:
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            Reply from 192.168.1.188: bytes=32 time<10ms TTL=64
            ping statistics for 192.168.1.188:
            Packets: Sent = 10,Received = 10,Lost = 0 (0% loss)
            Approximate round trip times in milli-seconds:
            Minimum = 0ms,Maximum = 0ms,Average = 0ms

這是向IP地址為192.168.1.188的計算機發送10個ICMP測試數據包,發送10個,返回10個,最大延時和最小延時均為0,丟包率為0。

主站蜘蛛池模板: 涿州市| 龙海市| 南江县| 灵寿县| 杭锦旗| 鲜城| 建水县| 西峡县| 三门县| 陵水| 剑川县| 潼南县| 吉安市| 成安县| 凌云县| 龙泉市| 郴州市| 哈巴河县| 珠海市| 探索| 安图县| 浠水县| 安丘市| 吴堡县| 唐海县| 鄂托克旗| 莆田市| 澄迈县| 喜德县| 电白县| 平阴县| 闵行区| 顺昌县| 虹口区| 民勤县| 大英县| 麟游县| 揭阳市| 瑞丽市| 岳池县| 长泰县|