1、默认启动5个 farmer ,但每隔5秒就再增加2个 farmer ,每个 farmer 运行5次 profile
2、下面是测试的 url list
<urllist>
<name>Test Hosts</name>
<description>A bunch of hosts we want to hit</description>
<url>http://172.17.64.34</url>
</urllist>
|
3、下面是测试结果
[root@dhcp-client examples]# /usr/bin/flood ./mail.bob.com.xml > /tmp/out
[root@dhcp-client examples]# ./analyze-relative /tmp/out
Slowest pages on average (worst 5):
Average times (sec)
connect write read close hits URL
0.0004 0.0004 0.0024 0.0024 25 http://172.17.64.34
Requests: 25 Time: 0.01 Req/Sec: 2094.23
[root@dhcp-client examples]
|
4、下面是 /tmp/out 的内容
注意,第一列是 timestamp (不过我们只需要前面的10位数字而已),第2列是连接的时间,
第3列是写请求的时间、第4列是读响应的时间、第5列是关闭连接的时间。第6列自然是 status
code 了,第7列估计是一个偏移量,最后一栏就是测试的 url
[root@dhcp-client examples]# /usr/bin/flood ./mail.bob.com.xml
1205223918535854 1574 1693 3310 3377 OK -1208104016 http://172.17.64.34
1205223918536139 1466 1503 4255 4276 OK -1218593872 http://172.17.64.34
1205223918539883 950 967 2491 2507 OK -1208104016 http://172.17.64.34
1205223918540776 279 307 2720 2771 OK -1218593872 http://172.17.64.34
1205223918542749 315 347 1970 1986 OK -1208104016 http://172.17.64.34
1205223918543868 298 328 2313 2328 OK -1218593872 http://172.17.64.34
1205223918545074 295 326 2628 2644 OK -1208104016 http://172.17.64.34
1205223918546547 300 330 2532 2548 OK -1218593872 http://172.17.64.34
1205223918548045 324 354 2311 2326 OK -1208104016 http://172.17.64.34
1205223918549421 299 329 2268 2285 OK -1218593872 http://172.17.64.34
1205223923535430 420 452 2053 2099 OK -1229083728 http://172.17.64.34
1205223923535657 289 314 3079 3098 OK -1239573584 http://172.17.64.34
1205223923537966 983 1001 2608 2625 OK -1229083728 http://172.17.64.34
1205223923539137 391 420 2605 2620 OK -1239573584 http://172.17.64.34
1205223923540930 324 339 2079 2096 OK -1229083728 http://172.17.64.34
1205223923542105 308 322 2158 2174 OK -1239573584 http://172.17.64.34
1205223923543359 296 327 2335 2351 OK -1229083728 http://172.17.64.34
1205223923544571 356 386 2300 2315 OK -1239573584 http://172.17.64.34
1205223923546022 413 427 2096 2113 OK -1229083728 http://172.17.64.34
1205223923547242 295 325 2018 2033 OK -1239573584 http://172.17.64.34
1205223928535157 461 485 2931 2953 OK -1250063440 http://172.17.64.34
1205223928538544 443 459 2703 2720 OK -1250063440 http://172.17.64.34
1205223928541602 287 318 2629 2645 OK -1250063440 http://172.17.64.34
1205223928544554 376 406 2603 2618 OK -1250063440 http://172.17.64.34
1205223928547500 284 314 1505 1520 OK -1250063440 http://172.17.64.34
[root@dhcp-client examples]
|
阅读(1587) | 评论(0) | 转发(0) |