【发布时间】:2019-11-15 15:37:35
【问题描述】:
我需要捕获 siege 基准工具的最终统计数据。 我试过的是
siege -c2 -t10s http://127.0.0.1:3000/ > siege.log 2>&1
但是 siege.log 有很多 HTTP/1.1 200 0.00 secs: 16 bytes ==> GET / aswel。
我想要的只是下面的最终统计数据
Lifting the server siege...
Transactions: 496 hits
Availability: 100.00 %
Elapsed time: 0.97 secs
Data transferred: 0.01 MB
Response time: 0.00 secs
Transaction rate: 511.34 trans/sec
Throughput: 0.01 MB/sec
Concurrency: 1.82
Successful transactions: 496
Failed transactions: 0
Longest transaction: 0.04
Shortest transaction: 0.00
请提出建议。提前致谢
【问题讨论】:
-
不确定,为什么对这个问题投了反对票?
-
可能是因为 (a) 它列出了一个不属于问题的工具,(ii) 它显示用户没有努力整合数据,& (3) 不是编程问题/它是一个工具问题
标签: linux performance command loadrunner siege