Home >Operation and Maintenance >Linux Operation and Maintenance >Steps to install webbench locally
wget
tar zxvf webbench-1.5.tar.gz
make && make install
The installation is complete.
Generally we only use two parameters -c and -t, similar to the following:
webbench -c 300 -t 60 http://127.0.0.1/
-t indicates the time to run the test. If not specified, the default is 30 seconds, -c indicates The number of clients, that is, the number of concurrencies.
Install siege:
wget
tar zxf siege-2.67.tar.gz
cd siege-2.67
./configure && make && make install
siege -c 10000 -r 10 http://127.0.0.1/
-c is the amount of concurrency, -r is the number of repetitions.
The above is the detailed content of Steps to install webbench locally. For more information, please follow other related articles on the PHP Chinese website!