siege的应用

执行的命令:siege -c 10 -r 5 www.google.com   -c表示并发 -r表示重试
执行的过程:
The server is now under siege...
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6485 bytes ==> /
HTTP/1.1 200   0.16 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.18 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.17 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.17 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6485 bytes ==> /
HTTP/1.1 200   0.17 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6485 bytes ==> /
HTTP/1.1 200   0.17 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6485 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.17 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.44 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.22 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.16 secs:    6479 bytes ==> /
HTTP/1.1 200   0.15 secs:    6475 bytes ==> /
HTTP/1.1 200   0.15 secs:    6479 bytes ==> /
HTTP/1.1 200   5.16 secs:    6475 bytes ==> /
HTTP/1.1 200   0.16 secs:    6475 bytes ==> /

执行的结果:
Transactions:                     50 hits   50次访问
Availability:                 100.00 % 访问率
Elapsed time:                   7.79 secs 总用时
Data transferred:               0.31 MB 共传输数据
Response time:                  0.26 secs 相应用时1.65秒
Transaction rate:               6.42 trans/sec 平均每秒完成6.42次处理:表示服务器后台处理的速度
Throughput:                     0.04 MB/sec 平均每秒传送数据
Concurrency:                    1.69 最高并发数
Successful transactions:          50 成功处理次数
Failed transactions:               0 失败处理次数
Longest transaction:            5.16 最长处理时间
Shortest transaction:           0.15 最低处理时间


你可能感兴趣的:(C++,c,应用服务器,C#,Google)