One step forward and one step closer, good and webbench can simulate up to 30 thousand concurrent connections to test the load capacity of the website. I personally feel better than the AB stress testing tool that comes with Apache, installation and use are also very convenient.
1. Linux stress testing tool:
2. Compile and install the Linux stress testing tool webbench:
Reference
Wget tar zxvf webbench-1.5.tar.gz
Cd webbench-1.5
Make & make install
3. Use the Linux stress testing tool webbench:
Reference
Webbench-c 500-t 30 parameter description:-c indicates the number of concurrencies, and-t indicates the time (seconds)
4. Test Result example of the Linux stress testing tool webbench:
Reference
- Webbench - Simple Web Benchmark 1.5
- Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
- Benchmarking: GET500 clients, running 30 sec.
- Speed=3230 pages/min, 11614212 bytes/sec.
- Requests: 1615 susceed, 0 failed.
1] Introduction
Webbench can simulate up to 30 thousand concurrent connections to test the load capacity of the website. I personally feel better than the AB stress testing tool that comes with Apache, and it is especially convenient to install and use.
Applicable system: Linux
[2] Download
- [Root @ localhost src] # wget ghost download source code
- -15:46:22-=> 'webbench-1.5.tar.gz'
- Resolving blog.s135.com... 122.200.66.145
- Connecting to blog.s135.com | 122.200.66.145 |: 80... Connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 7,675 (7.5 K) [application/octet-stream]
- 100% [] 7,675 8.62 K/s
- 15:46:30 (8.62 KB/s)-'webbench-1.5.tar.gz 'saved [7675/7675]
- [3] decompression, compilation, and installation
- [Root @ localhost src] # tar zxvf webbench-1.5.tar.gz unzip source file
- Webbench-1.5/
- Webbench-1.5/webbench.1
- Webbench-1.5/socket. c.
- Webbench-1.5/webbench. c
- Webbench-1.5/Makefile
- Webbench-1.5/debian/
- Webbench-1.5/debian/rules
- Webbench-1.5/debian/dirs
- Webbench-1.5/debian/copyright
- Webbench-1.5/debian/control
- Webbench-1.5/debian/changelog
- Webbench-1.5/COPYRIGHT.
- Webbench-1.5/ChangeLog
- [Root @ localhost src] # cd webbench-1.5
- [Root @ localhost webbench-1.5] # make writable Compiler
- Cc-Wall-ggdb-W-O-c-o webbench. o webbench. c
- Webbench. c: 77: warning: unused parameter 'signal'
- Cc-Wall-ggdb-W-O-o webbench. o
- Ctags *. c
- [Root @ localhost webbench-1.5] # mkdir/usr/local/man plugin create the appropriate directory or else the installation will fail)
- [Root @ localhost webbench-1.5] # make install uninstall Installer
- Install-s webbench/usr/local/bin
- Install-m 644 webbench.1/usr/local/man/man1
- Install-d/usr/local/share/doc/webbench
- Install-m 644 debian/copyright/usr/local/share
Webbench can simulate up to 30 thousand concurrent connections to test the load capacity of the website. I personally feel better than the AB stress testing tool that comes with Apache, and it is especially convenient to install and use. The stress testing tool for Linux is described above.