Install siege stress test
First, install siege
Wget http://download.joedog.org/siege/siege-latest.tar.gz
Tar-zxvf siege-latest.tar.gz
Cd siege-3.0.0
. / configure-- prefix=/usr/local/siege-- mandir=/usr/local/man-- with-ssl=/usr/local/ssl
Mkdir-p / usr/local/siege/etc/
Mkdir-p / usr/local/siege/var/
Make
Make install
Create a .siegec.config configuration file to the current user's home directory
/ usr/local/siege/bin/siege.config
Installation completed
Second, test siege
50 users (concurrency per time, note not concurrency per second) repeat 100 times to produce a total of 50 * 100 = 5000 requests
/ usr/local/siege/bin/siege-c 50-r 100 https://www.google.com