zoukankan      html  css  js  c++  java
  • 解决MS Azure 不能ping的问题

    PsPing v2.01

    PsPing implements Ping functionality, TCP ping, latency and bandwidth measurement. Use the following command-line options to show the usage for each test type

    TCP ping usage: psping [[-6]|[-4]] [-h [buckets | <val1>,<val2>,...]] [-i <interval>] [-l <requestsize>[k|m] [-q] [-t|-n <count>] [-w <count>] <destination:destport>

    -h
    Print histogram (default bucket count is 20).
    If you specify a single argument, it's interpreted as a bucket count and the histogram will contain that number of buckets covering the entire time range of values. Specify a comma-separated list of times to create a custom histogram (e.g. "0.01,0.05,1,5,10").

    -i
    Interval in seconds. Specify 0 for fast ping.

    -l
    Request size. Append 'k' for kilobytes and 'm' for megabytes.

    -n
    Number of pings or append 's' to specify seconds e.g. '10s'.

    -q
    Don't output during pings.

    -t
    Ping until stopped with Ctrl+C and type Ctrl+Break for statistics.

    -w
    Warmup with the specified number of iterations (default is 1).

    -4
    Force using IPv4.

    -6
    Force using IPv6.

    For high-speed ping tests use -q and -i 0.

     

    为了能够实现对网络延迟的监测,我们可以使用TCP协议进行ping,其原理是,先在客户端和服务端建立一个tcp连接,然后发出一个检测包,测量响应时间。它和ping的普通区别,是在测量前要建立一个tcp连接。因此,测试的对象必须开放一个tcp端口。另外,tcp ping工具没有在os里面提供,必须自己开发或者下载工具。

     

     

    原文链接:http://blog.csdn.net/shaunfang/article/details/18412521

  • 相关阅读:
    Go语言并发编程
    Go语言package
    大数据实践(十) Spark多种开发语言、与Hive集成
    大数据实践(九)--sqoop安装及基本操作
    Go语言错误处理
    Go语言接口
    Go语言面向对象
    数据库基础了解
    PL/SQL语句快捷输入设置
    重载操作符介绍
  • 原文地址:https://www.cnblogs.com/fengye87626/p/3803561.html
Copyright © 2011-2022 走看看