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

5.利用ping命令(-l參數)測試大型數據包傳輸情況

-l參數用于定義所發送緩沖區的數據包的大小,在默認的情況下,Windows的ping命令發送的數據包大小為32B,也可以自定義,但最大只能發送65500B。

例如:

            C:\WINDOWS>ping -l 32768 -n 10 192.168.1.188
            ping ing 192.168.1.188 with 32768 bytes of data:
            Request timed out.
            Reply from 192.168.1.188: bytes=32768 time=12ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=12ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=12ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=9ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=9ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=9ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=9ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=9ms TTL=64
            Reply from 192.168.1.188: bytes=32768 time=9ms TTL=64
            ping statistics for 192.168.1.188:
            Packets: Sent = 10,Received = 9,Lost = 1 (10% loss),
            Approximate round trip times in milli-seconds:
            Minimum = 9ms,Maximum = 12ms,Average = 9ms

這是向IP地址為192.168.1.188的計算機發送10個大小為32768B的數據包,發送10個,返回9個,丟失1個。返回數據包的最短時間為9ms,最長時間為12ms。

主站蜘蛛池模板: 上高县| 平顺县| 南平市| 安阳市| 河池市| 吉林省| 寻甸| 长泰县| 万荣县| 沙湾县| 福鼎市| 五莲县| 崇义县| 报价| 锦州市| 扬州市| 门头沟区| 舟山市| 平原县| 福贡县| 巴里| 桓台县| 白玉县| 迁安市| 嘉峪关市| 黔南| 岳池县| 涟水县| 维西| 浦县| 彰化县| 政和县| 镇安县| 宣化县| 漳平市| 和田市| 安溪县| 叙永县| 肇州县| 建昌县| 十堰市|