请知悉:本文最近一次更新为 7年 前,文中内容可能已经过时。

1.如果没有安装GCC就先执行

yum -y install gcc automake autoconf libtool make

2.安装ctags及创建一个文件夹

yum install ctags -y
mkdir -m 644 -p /usr/local/man/man1

3.获取及安装webbench

cd /opt/
curl -o WebBench-master.zip https://codeload.github.com/EZLippi/WebBench/zip/master
unzip -o WebBench-master.zip
cd WebBench-master
make && make install

二.使用webbench
在WebBench-master文件夹中运行

webbench -c 500 -t 30 https://localhosts.com

结果:

Benchmarking: GET https://localhosts.com
500 clients, running 30 sec.

以上方法整理修改自:https://blog.csdn.net/leejianjun/article/details/48020147


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《CentOS 7安装及使用WebBench压测》相关的博文:


留言

avatar
😀
😀😁😂😅😭🤭😋😘🤔😰😱🤪💪👍👎🤝🌹👌