echo "time_total is %{time_total}s\n" > curl-format.txt curl -w "@curl-format.txt" -o /dev/null -s -L http://localhost:1000/test
-w:从文件中读取打印格式
-o /dev/null:丢弃响应内容
-s:不打印进度条
curl --local-port 20000 http://xxx
posted on 2023-01-08 19:34 王景迁 阅读(55) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 王景迁 Powered by .NET 9.0 on Kubernetes