码迷,mamicode.com
首页 > Web开发 > 详细

使用ab对网站进行压力测试

时间:2018-09-19 11:40:22      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:安装   class   span   测试   指令   html   tool   localhost   tools   

1、安装yum install httpd-tools

2、ab -kc 1000 -n 1000 http://localhost/ab.html

这个指令会使用1000个并发,进行连接1000次

使用ab对网站进行压力测试

标签:安装   class   span   测试   指令   html   tool   localhost   tools   

原文地址:https://www.cnblogs.com/abkn/p/9661882.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!