apache bench gnuplot 输出 - 列定义是什么?
我正在使用 ApacheBench 来获取一些基本的计时信息。很好的满足了我的需求。我注意到“-g file”创建了一个制表符分隔的文件,每个调用作为一行。但是,我无法确定列的定义。这是我最好的猜测:
starttime:不言自明,此调用开始的时间
秒:基于数据,我认为这可能是不同格式的“starttime”
ctime:?,对我来说每行都有 0 值,所以不知道
dtime、ttime、wait : dtime 或 ttime 或 wait 似乎是“此调用以毫秒为单位的时间”
AB文档似乎没有涵盖输出格式。有人知道这些列的含义,或者我在哪里可以找到一些文档?
I am using ApacheBench to get some basic timing information. Meeting my needs very well. I noticed that "-g file" creates a tab delim'ed file with each call as a row. I am unable to determine the definition of the columns however. Here is my best guess:
starttime: self-explanatory, the time that this call started
seconds: based on data, I think this may be "starttime" in a different format
ctime: ?, has a 0 value for each row for me, so no idea
dtime, ttime, wait: either dtime or ttime or wait appear to be the "time that this call took in ms"
The AB documentation doesn't seem to cover the output format. Anyone know what these columns mean, or where I can find some documentation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是我推导出来的:
我是如何推导出来的:
比较:
Here is what I have deduced:
How I deduced this:
Compare to:
这里有一个很好的解释(包括已接受的答案中缺少
等待
):There's a good explanation here (including
wait
that's missing from the accepted answer):我得到了与 saltycrane 相同的结果,但想要做一些补充(并想总结一下):
I came to the same results as saltycrane, but want to make some additions (and want to sum things up):
date -d @1306437842
returns starttime output)