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

  • 巧學活用網管工具
  • 杜劍坡主編
  • 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。

主站蜘蛛池模板: 嘉黎县| 翁牛特旗| 信丰县| 新巴尔虎左旗| 正镶白旗| 永泰县| 田东县| 东兴市| 龙岩市| 财经| 浏阳市| 张掖市| 巴青县| 吉林省| 昌图县| 泾源县| 游戏| 聂拉木县| 祁连县| 仁怀市| 金坛市| 子长县| 正宁县| 盈江县| 兰溪市| 德钦县| 上思县| 普安县| 多伦县| 乌拉特后旗| 嵊泗县| 定南县| 蓬莱市| 安陆市| 托克托县| 新余市| 拉孜县| 江口县| 平和县| 霍林郭勒市| 康保县|