脚本内容:

#!/bin/bash
#目标域名
site=${site:-www.ptesting.com}
for((i=1;i<=10000;i++))
do
    #COUNTER='expr $COUNTER+1'
    delay=`curl -o /root/yffan/test/curl.txt  -s -w %{time_namelookup} $site`
    echo $delay
done

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
  • 2021-11-03
  • 2021-11-05
  • 2021-10-01
  • 2022-01-25
猜你喜欢
  • 2021-10-16
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2021-11-12
相关资源
相似解决方案