[Original] Introduction to siege stress testing tool in Linux
Siege Official Website:Http://www.joedog.org/siege-home/
1Installation steps:
# Tar-zxf siege-2.67.tar.gz
# Cdsiege-2.67
#./Configure
# Make
# Make install
2. Introduction to siege
[Root @ localhost ~] # Siege-C 20-R 10-F mayingbao.txt
Parameter description:-C indicates the number of concurrencies, and-R indicates the number of repetitions. mayingbao.txt indicates the specific stored URL.
For example, my mayingbao.txt file is:
Http://mayingbao.cnblogs.com/
Http://www.cnblogs.com/
Http://news.cnblogs.com/
After the test is completed, the result is as follows:
The following information is displayed:
Done.
Transactions: 200 hits
Availability: 100.00%
Elapsed time: 7.05 secs
Data transferred: 4.06 MB
Response time: 0.18 secs
Transaction rate: 28.37 TRANS/sec
Throughput: 0.58 MB/sec
Concurrency: 5.06
Successful transactions: 200
Failed transactions: 0
Longest transaction: 2.00
Shortest transaction: 0.02
For more details, please refer to the official website: http://www.joedog.org/siege-manual/