首页  >  问答  >  正文

linux - 如何加快ping的频率?

默认的Ping频率是1秒一次,我想改为一秒100次,请问应该如何实现?谢谢。

PHPzPHPz2743 天前813

全部回复(2)我来回复

  • 迷茫

    迷茫2017-04-17 12:10:13

       -i interval
          Wait interval seconds between sending each packet.  The  default
          is  to  wait for one second between each packet normally, or not
          to wait in flood mode. Only super-user may set interval to 
          values less 0.2 seconds.
    

    --

    sudo ping -i 0.01 www.example.com
    

    回复
    0
  • 天蓬老师

    天蓬老师2017-04-17 12:10:13

    RTFM, man ping

    回复
    0
  • 取消回复