curl 时间变量格式化输出

网友投稿 667 2023-02-13

本站部分文章、图片属于网络上可搜索到的公开信息,均用于学习和交流用途,不能代表睿象云的观点、立场或意见。我们接受网民的监督,如发现任何违法内容或侵犯了您的权益,请第一时间联系小编邮箱jiasou666@gmail.com 处理。

curl 时间变量格式化输出

摘要获取站点的各类响应时间,可以去看看前面写的文章。

获取站点的各类响应时间,可以去看看前面写的文章。

对curl时间变量的格式化输出。

定义格式化文件

1
2
3
4
5
6
7
8
9
10
11
#vim  curl-format.txt
\n
time_namelookup:%{time_namelookup}\n
time_connect:%{time_connect}\n
time_appconnect:%{time_appconnect}\n
time_pretransfer:%{time_pretransfer}\n
time_redirect:%{time_redirect}\n
time_starttransfer:%{time_starttransfer}\n
----------\n
time_total:%{time_total}\n
\n

发送请求

-w 指定格式化文件

-o 请求重定向到

上一篇:运维删库事件(运维删库跑路)
下一篇:windows日志分析工具–WebLog Expert
相关文章

 发表评论

评论列表