Siege Linux Stress Assessment

Source: Internet
Author: User

Siege

an open-source stress testing tool that can be configured to a The WEB site makes concurrent access to multiple users, records the appropriate time for each user's request process, and repeats under a certain number of concurrent accesses.

official:http://www.joedog.org/

Siege Download:http://soft.vpser.net/test/siege/siege-2.67.tar.gz

Extract:

# TAR-ZXF Siege-2.67.tar.gz

Go to unzip directory:

# CD siege-2.67/

Installation:

#./configure

# make

# make Install

Mkdir-p/usr/local/var/

/usr/local/var/siege.log # Log Path

Ulimit-shn 65535 # Modify the maximum number of open files (equivalent to the maximum number of connections )

Use

-C # is a concurrent volume

-R # is the number of repetitions

-F # Specifies the text, each line is a URL, it will be randomly accessed from the inside

Siege-c 200-r http://jj01.com/# single page

#cat Example.url

http://127.0.0.1

Http://127.0.0.1/index.html

Siege-c 200-r 10-f Example.url # multiple pages

ttp/1.1 0.03 secs:8 bytes ==>/

http/1.1 0.03 secs:8 bytes ==>/

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.02 secs:8 bytes ==>/index.html

http/1.1 0.02 secs:8 bytes ==>/index.html

http/1.1 0.02 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/

http/1.1 0.01 secs:8 bytes ==>/index.html

http/1.1 0.01 secs:8 bytes ==>/

http/1.1 0.01 secs:8 bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/

http/1.1 0.00 Secs:8 Bytes ==>/index.html

http/1.1 0.00 Secs:8 Bytes ==>/

Result description

Lifting the server siege ... done.

transactions:3419263 hits # complete 419263 processing

availability:100.00%//100.00% # success rate

Elapsed time:5999.69 secs # Total time

Data transferred:84273.91 MB # Total data transfer 84273.91 MB

Response time:0.37 secs # corresponding time 1.65 seconds: Shows the speed of the network connection

Transaction rate:569.91 trans/sec # All 569.91 processing is completed per second : After the server is represented

throughput:14.05 Mb/sec # Average data transfer per second

concurrency:213.42 # Actual maximum number of concurrent

Successful transactions:2564081 # successful processing times

Failed Transactions:11 # failed processing times

Longest transaction:29.04 # maximum time per transfer

Shortest transaction:0.00 # The shortest time spent on each transfer


Siege Linux Stress Assessment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.