webbench最多可以模拟3万个并发连接去测试网站的负载能力,个人感觉要比Apache自带的ab压力测试工具好,安装使用也特别方便。

  1、适用系统:Linux

  2、编译安装:
引用
wget http://blog.zyan.cc/soft/linux/webbench/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install

  3、使用:
引用
webbench -c 500 -t 30 http://127.0.0.1/test.jpg
  参数说明:-c表示并发数,-t表示时间(秒)

  4、测试结果示例:
引用
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://127.0.0.1/test.jpg
500 clients, running 30 sec.

Speed=3230 pages/min, 11614212 bytes/sec.
Requests: 1615 susceed, 0 failed.


Tags:



技术大类 » 其他Unix技术 | 评论(163) | 引用(1) | 阅读(421939)
เวบสล็อต Email Homepage
2025-8-23 03:40
เวบสล็อต Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject!my weblog.
lsm99 เข้าสู่ระบบ Email Homepage
2025-12-11 02:14
lsm99 เข้าสู่ระบบ wonderful post, very informative. I wonder why the other experts of this sector do not notice this. You should continue your writing. I’m sure, you have a great readers’ base already!
พนันบอลออนไลน์ Email Homepage
2026-1-7 07:05
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck. Just pure brilliance from you here. I have never expected something less than this from you and you have not disappointed me at all.
สมัครแทงบอล Email Homepage
2026-1-14 03:52
Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but instead of that, this is great blog. A fantastic read. I will definitely be back.
分页: 9/9 第一页 上页 4 5 6 7 8 9 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]