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

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。

主站蜘蛛池模板: 噶尔县| 淳化县| 任丘市| 新疆| 青铜峡市| 连云港市| 济源市| 保山市| 民和| 巴东县| 吴忠市| 安化县| 西充县| 江都市| 邓州市| 五家渠市| 曲水县| 北碚区| 嘉兴市| 三门县| 疏勒县| 枝江市| 辰溪县| 陆良县| 德化县| 前郭尔| 十堰市| 青岛市| 勃利县| 临朐县| 新邵县| 京山县| 娱乐| 田阳县| 遂溪县| 连云港市| 九龙城区| 密山市| 恩平市| 黑山县| 县级市|