OSDN Git Service

Regular updates
[twpd/master.git] / siege.md
index 2422d93..d2e6b10 100644 (file)
--- a/siege.md
+++ b/siege.md
@@ -1,11 +1,20 @@
 ---
 title: Siege
 category: Others
+layout: 2017/sheet
+intro: |
+  [Siege](https://www.joedog.org/siege-home/) is an HTTP and HTTPS load testing tool.
 ---
 
+### Basic usage
+
+```sh
+siege -b -c=10 -t=5m "http://..."
 ```
-siege -b -c=10 -t=5m http://...
-```
+
+### Options
+
+#### Repetitions
 
 ```
 -c, --concurrent=N
@@ -13,24 +22,28 @@ siege -b -c=10 -t=5m http://...
 -r, --reps=N
 ```
 
+#### Modes
+
 ```
 -i, --internet       Hit URLs randomly
 -b, --benchmark      No delay between requests
 ```
 
-### Configuration
+#### Configuration
 
 ```
 -f, --file=FILE      load urls.txt
 -R, --rc=FILE        load siegerc
 ```
 
-> Also see: [siegerc](https://gist.github.com/stansmet/3067988)
-
-### Headers
+#### Headers
 
 ```
 -H, --header="Cookie: foo=bar"
 -A, --user-agent="Mozilla"
 -T, --content-type="text/html"
 ```
+
+### References
+
+Also see: [siegerc](https://gist.github.com/stansmet/3067988)