Siege: A Web Performance Stress Testing Tool

Installation Tool

yum -y install siege
 
If you see the following message, please install the EPEL yum repository:
No package siege available.

Below is an example using CentOS 6. The installation method for CentOS 6 64-bit is as follows:

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
 
Test Example:
siege -c 20 -r 2 https://www.123.com
 
Explanation: The value after -c is the number of concurrent clients, and -r is the number of repetitions.
Test Example:
siege -c 20 -t 1 https://www.123.com

Explanation: 20 concurrent users, test for 1 minute.

Leave a Comment

Your email address will not be published.