# siege用法

siege -r1000 -c20  "127.0.0.1:1823"

-b, --benchmark         BENCHMARK: no delays between requests.
‘ –delay=NUM ‘
Each siege simulated user is delayed for a random number of seconds between one and NUM. If you are benchmarking performance, it is recommended that you use a 1 second delay ( -d1 ). The default value is three (3 ). This delay allows for the transactions to stagger rather then to allow them to pound the server in waves.

siege -r1000 -c20 -b  "127.0.0.1:1823"

http://www.php-oa.com/2010/06/25/siege.html

posted @ 2012-08-14 17:00 lengyuhong 阅读(...) 评论(...) 编辑 收藏