Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1768878
  • 博文数量: 184
  • 博客积分: 10122
  • 博客等级: 上将
  • 技术积分: 5566
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-08 12:32
文章存档

2011年(1)

2008年(183)

我的朋友

分类: 系统运维

2008-03-11 17:12:41


注意,软件自带的 examples/ 中的例子是错误,因为不能在 XML 中直接使用 < , > , " 这些字符

必须用 < , > , " 来代替



Test Hosts
A bunch of hosts we want to hit
http://172.17.64.34/manual/


现在可以执行 flood 了,可以第2个 URL 自动扩展为 了

[root@dhcp-client examples]# /usr/bin/flood ./my.xml

1205247547765472 1205247547766023 1205247547766101 1205247547771294 1205247547773133 OK -1208104016 http://172.17.64.34/manual/
1205247547773873 1205247547774304 1205247547774323 1205247547775625 1205247547775645 OK -1208104016 http://172.17.64.39/manual/faq/
1205247547776215 1205247547776547 1205247547776569 1205247547781698 1205247547783306 OK -1208104016 http://172.17.64.34/manual/
1205247547783877 1205247547784076 1205247547784094 1205247547785415 1205247547785447 OK -1208104016 http://172.17.64.39/manual/faq/
1205247547785909 1205247547786221 1205247547786237 1205247547791234 1205247547792736 OK -1208104016 http://172.17.64.34/manual/
1205247547793290 1205247547793472 1205247547793489 1205247547794770 1205247547794803 OK -1208104016 http://172.17.64.39/manual/faq/
1205247547795286 1205247547795595 1205247547795610 1205247547800607 1205247547802125 OK -1208104016 http://172.17.64.34/manual/
1205247547802675 1205247547802860 1205247547802877 1205247547804150 1205247547804182 OK -1208104016 http://172.17.64.39/manual/faq/
1205247547804637 1205247547804945 1205247547804960 1205247547809940 1205247547811462 OK -1208104016 http://172.17.64.34/manual/
1205247547811977 1205247547812182 1205247547812200 1205247547813508 1205247547813544 OK -1208104016 http://172.17.64.39/manual/faq/
[root@dhcp-client examples]



[root@dhcp-client examples]# ./analyze-relative /tmp/out

Slowest pages on average (worst 5):
   Average times (sec)
connect write read close hits URL
0.0020 0.0021 0.0116 0.0187 50 http://172.17.64.34/manual/
0.0025 0.0026 0.0053 0.0053 50 http://172.17.64.39/manual/faq/
Requests: 100 Time: 0.12 Req/Sec: 866.63
[root@dhcp-client examples]

阅读(2427) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~