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技术 | 评论(159) | 引用(1) | 阅读(413559)
监控工程师
2012-8-8 10:50
监控 Nagios cacti 一切都搞定
coach88888888 Email
2012-8-13 17:38
If you desire to go to Coach Factory Outlet, but have no idea in which to go, you can research online. It is no doubt that there is drastically information and details about it for the reference.Coach Factory Online are loved by many people, when you walk in the street, you could see many people take coach styles.hat experts claim Coach Outlet Online shopping is in the changes they are available in.Coach Outlet will send you a coupon in the post to use in their upon only after you type a achieve. The Coach bags are customarily somewhat many than the ones in the stores.
baozang
2012-9-22 11:57
Lamo - Like Sebago, Louis Vuitton Canada  there are only about 40 styles of Lamo Footwear.  Most of their footwear uses a suede leather traditional in True Religion Jeans  moccasins, though only about 1/3 of the footwear collection is a traditional moccasin look. True Religion Brand Jeans The rest of the collection is slippers and UGG styled boots.Louis Vuitton Artsy The traditional moccasins do have a soft rubber sole making them great deck True Religion Sale shoes as well, however. Expect to pay between $50 and $60 for Lamo moccasins.
会飞的鱼
2012-9-26 21:00
买了一本你写的实战nginx,貌似不错。要好好学。哈哈
GWETW
2013-1-29 16:43
买轴承就到:www.jkzhoucheng.cn
SDSD
2013-4-7 17:05
买轴承就到:www.jkzhoucheng.cn
在线咨询
2013-5-14 22:38
bad
1 Email
2013-5-24 11:54
您好我make的时候报错了  
[root@test253 ~]# tar zxvf webbench-1.5.tar.gz
webbench-1.5/
webbench-1.5/webbench.1
webbench-1.5/socket.c
webbench-1.5/webbench.c
webbench-1.5/Makefile
webbench-1.5/debian/
webbench-1.5/debian/rules
webbench-1.5/debian/dirs
webbench-1.5/debian/copyright
webbench-1.5/debian/control
webbench-1.5/debian/changelog
webbench-1.5/COPYRIGHT
webbench-1.5/ChangeLog
[root@test253 ~]# cd webbench-1.5
[root@test253 webbench-1.5]# make
cc -Wall -ggdb -W -O   -c -o webbench.o webbench.c
webbench.c: 在函数‘alarm_handler’中:
webbench.c:77: 警告:未使用的参数‘signal’
cc -Wall -ggdb -W -O  -o webbench webbench.o  
ctags *.c


centOS6.4
呵呵
2013-6-17 19:53
呵呵看完之后我就在想是不是会吧自己的搞挂,结果一看评论还真有。看来还需要谨慎使用。嘻嘻嘻
normandrs05i Email Homepage
2013-6-18 06:31
A fad diet is really a trendy diet strategy that promises to assist you lose excess weight frequently inside a comparatively short time. It didn t take us long to make our way back to the pit and just in time to hear one of the men say now-now take-um, at just that moment I looked over the wall of the pit and could see what I thought was hundreds of thousands of snow geese.
styling sprays to assist you keep your hair stylish,foakleys for sale, even when you dont have time for the salon. The first factor a barmaid did was say hello there,fake oakleys free shipping, give me a menu and stage back again.
Access with ease Consider that you will discover other video games that you are able to perform aside from flash online casino games which are considerably better when it comes to graphical interfaces and gameplay.
But the timeline is not very long. I cried for what appeared like a full month. The turning of their lives was came out in the that winter, when Tom climed Pech. With this product you can build a liquid fence of deer repellent.
Besides being woman only shoes, Jessica Simpson Girls Footwear are attractive and they retain men eyes glued to their feet. It permits the buyer to get increased undertaken sooner by voice.
for its dissimilar,foakley sunglasses, amounts to just a good typical, architecture and thus routine with pattern as well as the make and thus style innovation, apparel,Canada Goose Trip Parka connected former producers.
No one is suggesting we invite them inside. Winter season depends upon individuals or groups,foakleys, individuals or groups and more often occasions, let's acquire a stool pigeon the busier available at what could be amazing and what's certainly not this in turn autumn season top season.
The versatile, trendy Ontario will do just thatilled all duck down, it insulated and the material is water-repellant. For completing the mission without an issue inside of the network, you can thank a Still left four Dead 2 devoted server and obviously towards the unit.
fanke
2013-11-8 15:22
可以试试在线的网站压力测试工具,http://yali.webkaka.com/
bai_jimmy
2013-12-31 08:58
把自己的机器搞挂了
ADSF
2013-12-31 15:55
买轴承就到:www.jkzhoucheng.cn
易发国际真人娱乐场所
[2014-5-21 05:27]
来源:易发国际
内容: 易发国际出于亚洲著名公司专业提供,易发国际真人娱乐,百家乐,轮盘,骰宝,龙虎,路单,棋牌,游乐场等易发国际精彩娱乐。信用第一值得大众信赖。
leeyi Email
2014-7-30 11:32
怎么测试,结果怎么分析?能够给些详细的案例说明吗?
ss
2014-9-15 17:23
小虫 2008-3-19 14:59webbench -c 30000 -t 60 http://xxx好像很容易把自己打死啊,郁闷knowless 2010-5-15 10:52小张,webbench -C 10000 -t 60 http://192.168.116.7/挂了,把自己给搞挂了小yú  2010-7-20 09:41机器A 运行一个服务,机器B 上运行 webbench, 第二天发现 机器A 一切正常,机器B 奇慢无比,ps一看,偶地神呐,webbench 是开进程去跑啊……这个太……                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin表示同意grin
af
2014-10-10 14:45
在tar -zxvf时候提示解压失败
icycity
2015-1-17 16:07
你说的东西真是太棒了,真好用,效果显著。
泥人 Email Homepage
2015-3-27 15:10
张老师 这个是什么问题?我make的时候报错了[root@localhost webbench-1.5]# make && make installcc -Wall -ggdb -W -O   -c -o webbench.o webbench.cwebbench.c: 在函数‘alarm_handler’中:webbench.c:77: 警告:未使用的参数‘signal’cc -Wall -ggdb -W -O  -o webbench webbench.o  ctags *.c/bin/sh: ctags: command not foundmake: [tags] 错误 127 (忽略)install -s webbench /usr/local/bin  install -m 644 webbench.1 /usr/local/man/man1  install: 无法创建普通文件"/usr/local/man/man1": 没有那个文件或目录make: *** [install] 错误 1
分页: 4/8 第一页 上页 1 2 3 4 5 6 7 8 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]