Joke Collection Website - Public benefit messages - CC(challenge collapsar) contracting tools besieged the website stress test of installing and using tutorials.
CC(challenge collapsar) contracting tools besieged the website stress test of installing and using tutorials.
Siege is an open source stress testing tool, which aims to evaluate the endurance of WEB applications under pressure. According to this configuration, multiple users can visit a website at the same time.
Yum installs gcc
wget
Description: Siege -c 200 has 200 concurrent users -r 20 repeats cycle 20.
These are the basic orders. If you want to strengthen your attack power, please refer to the detailed description of the following parameters.
Detailed description of parameters
-C or -config prints the current configuration on the screen. The configuration is contained in his configuration file $ HOME/. Sie gerc. You can edit the parameters inside, so that siege will run according to it every time.
You can see detailed operation information when -v runs.
-c n or -concurrent=n simulates that there are n users accessing at the same time. Don't set n too large, because the larger it is, the more resources the siege consumes on the local machine.
-i, -internet randomly accesses url list items in urls.txt to simulate the real access situation (randomness), which is valid when urls.txt exists.
-d n, -delay=n hit The delay between each url is between 0 and n..
-r n, -reps=n Repeat the test n times and cannot exist with -t at the same time.
-t n, -time=n Run the siege continuously for' n' seconds (such as 10 second), minutes (10 meter) and hours (10 hour).
After -l runs, save the statistics to a log file, which is usually located in/usr/local/var/sieve. Log, which can also be customized in. Siegel.
-R SIEGERC, -rc=SIEGERC specifies to run with a specific SIEGERC configuration file, and the default value is $ HOME/. sie gerc。
-f FILE, -file=FILE specifies to run siege with a specific urls file, which is urls.txt by default and located in etc/urls.txt of siege installation directory.
-u URL, -url=URL Test the specified URL and "siege" it. This option ignores the settings about URL files.
Url.txt file: it is a list of multiline URLs to be tested, separated by line breaks, in the format:
[protocol:/] host.domain.com [:port] [path/to/file]
Usage example:
Siege-c300-r100-fuurl.txt
Description: -c is concurrency and -r is the number of repetitions. Url.txt is a text file, and each line is a URL, which will be accessed randomly.
- Previous article:How to report malicious short messages?
- Next article:Parents' wedding invitation to their son
- Related articles
- Chengdu to Beijing
- Self-introduction of kindergarten job interview
- How to check the location of the express cabinet
- What's the movie in Qiao Shan Mary?
- Charging standard of prepaid card
- My girlfriend seems to hate me very much and doesn't want to talk to me. What should I do?
- What is the weakness that two men can save their predecessors in minutes?
- The history and origin of Tencent
- How to limit the speed of telecommunications?
- How to convey information to prisoners?