ab压测和webbench压测

apt-get install apache2-utils

ab -n 100 -c 10 http://47.99.37.122:8100/blogs

n为总数,c为并发数

webbench压测

wget http://soft.vpser.net/test/webbench/webbench-1.5.tar.gz

tar zxvf webbench-1.5.tar.gz

make && make install

webbench -c 20000 -t 130 http://47.99.37.122:8100/blogs

c为总数,t为持续时间

posted @ 2021-10-29 21:24  ament  阅读(34)  评论(0编辑  收藏  举报