OSDN Git Service

Regular updates
[twpd/master.git] / siege.md
1 ---
2 title: Siege
3 category: Others
4 ---
5
6 ```
7 siege -b -c=10 -t=5m http://...
8 ```
9
10 ```
11 -c, --concurrent=N
12 -t, --time=MINSm
13 -r, --reps=N
14 ```
15
16 ```
17 -i, --internet       Hit URLs randomly
18 -b, --benchmark      No delay between requests
19 ```
20
21 ### Configuration
22
23 ```
24 -f, --file=FILE      load urls.txt
25 -R, --rc=FILE        load siegerc
26 ```
27
28 > Also see: [siegerc](https://gist.github.com/stansmet/3067988)
29
30 ### Headers
31
32 ```
33 -H, --header="Cookie: foo=bar"
34 -A, --user-agent="Mozilla"
35 -T, --content-type="text/html"
36 ```