Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Install siege stress test

Shulou Source: shulou.com Published: 2022-06-03 06:42:52 09月23日 Update

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

Tags: Users tests files directories configuration stress Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia OPPO Reno MariaDB Docker Shulou Technology