mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 19:57:59 +00:00
Update cheatsheets
This commit is contained in:
33
siege
Normal file
33
siege
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# siege
|
||||
|
||||
> HTTP loadtesting and benchmarking tool.
|
||||
> More information: <https://www.joedog.org/siege-manual/>.
|
||||
|
||||
- Test a URL with default settings:
|
||||
|
||||
`siege {{https://example.com}}`
|
||||
|
||||
- Test a list of URLs:
|
||||
|
||||
`siege --file {{path/to/url_list.txt}}`
|
||||
|
||||
- Test list of URLs in a random order (Simulates internet traffic):
|
||||
|
||||
`siege --internet --file {{path/to/url_list.txt}}`
|
||||
|
||||
- Benchmark a list of URLs (without waiting between requests):
|
||||
|
||||
`siege --benchmark --file {{path/to/url_list.txt}}`
|
||||
|
||||
- Set the amount of concurrent connections:
|
||||
|
||||
`siege --concurrent={{50}} --file {{path/to/url_list.txt}}`
|
||||
|
||||
- Set how long for the siege to run for:
|
||||
|
||||
`siege --time={{30s}} --file {{path/to/url_list.txt}}`
|
||||
Reference in New Issue
Block a user