apache的ab压力测试
来源:互联网 发布:华为大数据营销策略 编辑:程序博客网 时间:2024/04/18 22:29
1./opt下面解压:httpd-2.2.29.tar.gz
2.根目录/下:mkdir -p /usr/local/web/apache
3./opt下进入httpd-2.2.29文件夹:cd httpd-2.2.29
4.安装:
(1)./configure --prefix=/usr/local/web/apache --enable-shared=max --enable-module=rewirte --enable-module=so
(2)make:预编译
(1)./configure --prefix=/usr/local/web/apache --enable-shared=max --enable-module=rewirte --enable-module=so
(2)make:预编译
(3)make install:预编译以后安装
5.ab压力测试开始:
(1)进入/usr/local/web/apache/bin目录下(前提:Tomcat需要开启)
(2)执行命令:ab -n1000 -c100 http://localhost:8080/
说明:我们可以模拟100个并发用户,对一个页面发送1000个请求 ,其中-n代表请求数,-c代表并发数。
(3)测试报告说明
阅读全文
2 0
- Apache的ab压力测试
- apache的ab压力测试
- apache的ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab 压力测试
- apache ab压力测试
- apache ab压力测试 .
- apache ab压力测试
- apache ab压力测试
- apache ab压力测试
- apache ab 压力测试
- apache ab压力测试
- apache ab 压力测试
- Python内置函数及其用法
- FCC-----------Reverse a String
- 编译时遇到error LNK2001: unresolved external symbol "private: static
- 开启我的Python量化之路
- node使用socket断开后延迟发送的问题解决
- apache的ab压力测试
- WIFI访问网络需要的权限
- Windows 10 安装Scrapy 爬虫框架
- Map<Key,Value>基于Value值排序
- wifi模块简单使用教程,如何将数据发送到电脑(esp8266 arduino库的使用)
- KafkaController介绍
- centos7上ansible初步使用
- sqoop 导出mysql,oracle
- 5.27模拟题 逃避系统警察