Home  >  Q&A  >  body text

linux - 如何加快ping的频率?

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

PHPzPHPz2743 days ago815

reply all(2)I'll reply

  • 迷茫

    迷茫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
    

    reply
    0
  • 天蓬老师

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

    RTFM, man ping

    reply
    0
  • Cancelreply