ChinaUnix.net
相关文章推荐:

apache ab 命令

请帮帮 解答一下 ab命令的 语法 我是新手 谢谢大家 麻烦大家了

by zhaopengpeng - Shell - 2005-11-21 23:30:32 阅读(1453) 回复(6)

相关讨论

其中的-p选项怎么用,谢谢

by xuxingyu - 服务器应用 - 2008-09-22 18:14:40 阅读(2093) 回复(1)

ab测试apache server -------------------------------------------------------------------------------- 在阿帕奇服务器的套件中,有一个叫做 ab (apacheBench) 的工具。apacheBench 主要是用来测试阿帕奇服务器执行效率用的,我们就以 apacheBench 做为 CGI vs. FastCGI 的评比工具。 apacheBench 可以针对某个特定的 URL 仿真出连续的联机请求,同时还可以仿真出同时间点数个相同的联机请求,因此利用 apacheBench 可帮助我...

by zhengwei_zw - BSD文档中心 - 2007-03-04 22:35:07 阅读(2197) 回复(0)

刚做好的服务器,硬件配置还不错呀.双AMD64 的CPU 通过 PORT安装的APACHE21 安装mysql与php index.php 是一个测试页 ; 通过ab测试ab -c 500 -n 5000 http://192.168.9.129/index.php 出现问题. Test aborted after 10 failures apr_socket_connect(): Operation already in progress (37) Total of 12 requests completed

by lwxkbob - BSD - 2005-10-21 15:13:43 阅读(2547) 回复(2)

以前安装好apache总是不知道该如何测试apache的性能,现在总算找到一个测试工具了。就是apache自带的测试工具ab(apache benchmark).在apache的bin目录下。 格式: ./ab [options] [http://]hostname[:port]/path 参数: -n requests Number of requests to perform //在测试会话中所执行的请求个数。默认时,仅执行一个请求 -c concurrency Number of multiple requests to make //一次产生的请求个数。默认是...

by gslsok - BSD文档中心 - 2008-04-15 15:20:59 阅读(1007) 回复(0)

-p POST file A file containing data that the program will send to the apache server in any HTTP POST requests. The contents of the file should look like name=value&something=other, with special characters URL encoded. ab -p file "http://aa.com/login.php" 因login.php需要登陆才能完成打开页面,请较一...

by love100 - 服务器应用 - 2005-12-07 11:39:11 阅读(3844) 回复(12)

a.txt文件的内容如下: [quote]hello 4a 4b 4c 4d 4e 4f 4g 4h 4t 4ab 4bc 4th 4abc 4bcd 1234 [9-1][/quote] 可是为什么"egrep '4(ab)?' a.txt"命令的输出结果是这样呢? [code] ~/tmp$ egrep '4(ab)?' a.txt 4a 4b 4c 4d 4e 4f 4g 4h 4t 4ab 4bc 4th 4abc 4bcd 1234 [/code] [ 本帖最后由 ubuntun 于 2007-12-15 23:49 编辑 ]

by ubuntun - Shell - 2007-12-17 10:50:26 阅读(1560) 回复(4)

测试一个url,执行ab命令后,返回 [quote]Benchmarking mail.163.com (be patient)...apr_sockaddr_info_get() for mail.163.com: Unknown error 14643 (14643)[/quote] 请指点下,什么错误,是不是对方防火墙给禁止掉了?谢谢 [ 本帖最后由 Ericzhao82 于 2007-7-18 18:24 编辑 ]

by Ericzhao82 - BSD - 2007-07-18 18:52:25 阅读(3026) 回复(3)
by emcc-83 - 服务器应用 - 2007-01-31 22:16:25 阅读(1525) 回复(2)

谁帮我看下服务器 压力做多能在多少人 Server Software: apache/2.2.4 Server Hostname: 127.0.0.1 Server Port: 80 Document Path: s/index.php Document Length: 9407 bytes Concurrency Level: 100 Time taken for tests: 304.245247 seconds Complete requests: 10000 Failed requests: 9982 (Connect: 0, Length: 9982, Exceptions: 0) Write errors: ...

by 啊泰 - 服务器应用 - 2007-01-30 15:58:14 阅读(1361) 回复(2)

apache进行性能测试,结果如下: ================================= [root@Base etc]# cd /usr/local/apache2/bin/ab -n 10000 -c 500 http://www.abcd.com/ -bash: cd: /usr/local/apache2/bin/ab: Not a directory [root@Base etc]# /usr/local/apache2/bin/ab -n 10000 -c 500 http://www.abcd.com/ This is apacheBench, Version 2.0.40-dev <$Revision: 1.121.2.10 $>; apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus T...

by softiger - 服务器应用 - 2008-08-06 16:50:50 阅读(7167) 回复(4)