Webbench is a very simple stress testing tool, webbench can simulate up to 30,000 concurrent connections to test the load capacity of the site.
(1) Webbench installation
Copy Code code as follows:
wget http://www.jb51.net/soft/linux/webbench-1.5.tar.gz
Tar zxvf webbench-1.5.tar.gz
CD webbench-1.5
Make
Make install
(2) Webbench use
Copy Code code as follows:
Webbench-c 1000-t http://www.jb51.net/
webbench-c Concurrency number-t run test time URL
(3) test results
Copy Code code as follows:
root@phpddt:~/webbench-1.5# webbench-c 1000-t http://www.jb51.net/
Webbench-simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking:get http://www.jb51.net/
1000 clients, running Sec.
speed=217591 pages/min, 5544152 bytes/sec.
requests:217591 susceed, 0 failed.
Note: The concurrent number should be small to large at test time, and check the load of the Web site with top, or open the page to view the speed itself.
The above is webbench use the tutorial, very simple.