Ubuntu 16.04/CentOS 6.9安装Apache压力(并发)测试工具ab
2024-08-21 11:44:58
说明:
ab工具已经在Apache中包含,如果不想安装Apache,那么可以使用下面方法单独安装。
安装:
Ubuntu:
sudo apt-get install apache2-utils
CentOS:
sudo yum -y install httpd-tools
官网:
http://httpd.apache.org/(Apache服务器)
http://httpd.apache.org/docs/2.0/programs/(Apache工具文档大全)
http://httpd.apache.org/docs/2.0/programs/ab.html(文档教程)
http://httpd.apache.org/docs/current/programs/ab.html(文档教程)
简单使用:
运行
ab -n 100 -c 10 http://www.baidu.com/
#注意网址最后要带斜杠
对http://www.baidu.com/进行100次请求,10个并发请求压力测试结果。
最新文章
- Json to JObject转换的使用方法
- Async and Await 异步和等待
- [HDOJ5451]Best Solver(乱搞)
- C#学习笔记--详解委托,事件与回调函数
- 在IntelliJ IDEA14中安装go语言插件
- java 反射技术
- android 访问SMS短信收件箱
- (转载)PHP源代码分析- tick(s)
- Spring+Spring MVC+MyBatis
- [ZJOI2005]九数码游戏
- [Shoi2007]Vote 善意的投票
- Input子系统与多点触摸技术-3【转】
- Git bash命令
- ThreadPoolExecutor源码解析(二)
- 添加依赖:https://mvnrepository.com/
- LeetCode刷题 fIRST MISSING POSITIVE
- Unity 3D光源-Spot Light聚光灯用法详解、模拟手电筒、台灯等线性教程
- mysql备份学习笔记及xtrabackup安装
- Python3 命令行参数
- JIRA python篇之统计产品尚未解决的bugs
热门文章
- linux 出错 “INFO: task xxxxxx: 634 blocked for more than 120 seconds.”的3种解决方案(转)
- JavaWeb笔记(十一)Maven
- android 在自定义的listview(有刷新加载项)列表中,数据过少时不能铺满整个屏幕时,header和footer同时显示问题
- Java 冒泡排序与快速排序的实现
- HDU 1709 母函数天平问题 可出现减法的情况 The Balance
- Codeforces Round #359 (Div. 2) A
- 乌班图 root权限获取
- SpringMVC+MyBatis+Shiro 配置文件详解
- poj2728 最小比率生成树——01分数规划
- 行为型设计模式之解释器模式(Interpreter)