<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DevOps技术分享 &#187; Webbench</title>
	<atom:link href="http://www.showerlee.com/archives/tag/webbench/feed" rel="self" type="application/rss+xml" />
	<link>http://www.showerlee.com</link>
	<description>与你共同学习运维开发</description>
	<lastBuildDate>Mon, 19 Oct 2020 05:51:41 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
		<item>
		<title>CentOS6.3下使用webbench对网站进行压力测试</title>
		<link>http://www.showerlee.com/archives/819</link>
		<comments>http://www.showerlee.com/archives/819#comments</comments>
		<pubDate>Sat, 31 Aug 2013 13:50:54 +0000</pubDate>
		<dc:creator>showerlee</dc:creator>
				<category><![CDATA[APACHE]]></category>
		<category><![CDATA[Webbench]]></category>

		<guid isPermaLink="false">http://www.showerlee.com/?p=819</guid>
		<description><![CDATA[webbench最多可以模拟3万个并发连接去测试网站的负载能力，个人感觉要比 Apache自带的ab压力测试工 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>
	<span style="color:#666666;font-family:SimSun;font-size:14px;">webbench最多可以模拟3万个并发连接去测试网站的负载能力，个人感觉要比</span>
</p>
<p>
	<span style="color:#666666;font-family:SimSun;font-size:14px;">Apache自带的ab压力测试工具好，安装使用也特别方便。</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">1、适用系统：Linux</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">2、编译安装：</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;"># wget <a href="http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz" rel="nofollow">http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz</a></span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;"># tar zxvf webbench-1.5.tar.gz</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;"># cd webbench-1.5</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;"># make &amp;&amp; make install</span>
</p>
<p>
	<span style="color:#666666;font-family:SimSun;font-size:14px;">&nbsp;</span>
</p>
<p>
	<span style="color:#666666;font-family:SimSun;font-size:14px;">3、使用：</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;"># webbench -c 500 -t 30 <a href="http://127.0.0.1/test.jpg" rel="nofollow">http://127.0.0.1/test.jpg</a></span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">参数说明：-c表示并发数，-t表示时间(秒)</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#555555;font-family:宋体, 'Arial Narrow', arial, serif;"><br />
</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">4、测试结果示例：</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;"><a href="http://www.showerlee.com/archives/tag/webbench" title="查看Webbench中的全部文章" class="tag_link">Webbench</a> - Simple Web Benchmark 1.5</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">Benchmarking: GET <a href="http://127.0.0.1/test.jpg" rel="nofollow">http://127.0.0.1/test.jpg</a></span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">500 clients, running 30 sec.</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">Speed=3230 pages/min, 11614212 bytes/sec.</span>
</p>
<p>
	<span style="background-color:#FFFFFF;color:#666666;font-family:SimSun;font-size:14px;">Requests: 1615 susceed, 0 failed.</span></p>
<div>声明: 本文采用 <a rel="external" href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh" title="署名-非商业性使用-相同方式共享 3.0 Unported">CC BY-NC-SA 3.0</a> 协议进行授权</div><div>转载请注明来源：<a rel="external" title="DevOps技术分享" href="http://www.showerlee.com/archives/819">DevOps技术分享</a></div><div>本文链接地址：<a rel="external" title="CentOS6.3下使用webbench对网站进行压力测试" href="http://www.showerlee.com/archives/819">http://www.showerlee.com/archives/819</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.showerlee.com/archives/819/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
