Linux stress testing tool installation and Application

Source: Internet
Author: User

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

 
 
  1. Webbench - Simple Web Benchmark 1.5  
  2. Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.  
  3. Benchmarking: GET500 clients, running 30 sec.  
  4. Speed=3230 pages/min, 11614212 bytes/sec.  
  5. 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
 

 
 
  1. [Root @ localhost src] # wget ghost download source code
  2. -15:46:22-=> 'webbench-1.5.tar.gz'
  3. Resolving blog.s135.com... 122.200.66.145
  4. Connecting to blog.s135.com | 122.200.66.145 |: 80... Connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: 7,675 (7.5 K) [application/octet-stream]
  7. 100% [] 7,675 8.62 K/s
  8. 15:46:30 (8.62 KB/s)-'webbench-1.5.tar.gz 'saved [7675/7675]
  9. [3] decompression, compilation, and installation
  10. [Root @ localhost src] # tar zxvf webbench-1.5.tar.gz unzip source file
  11. Webbench-1.5/
  12. Webbench-1.5/webbench.1
  13. Webbench-1.5/socket. c.
  14. Webbench-1.5/webbench. c
  15. Webbench-1.5/Makefile
  16. Webbench-1.5/debian/
  17. Webbench-1.5/debian/rules
  18. Webbench-1.5/debian/dirs
  19. Webbench-1.5/debian/copyright
  20. Webbench-1.5/debian/control
  21. Webbench-1.5/debian/changelog
  22. Webbench-1.5/COPYRIGHT.
  23. Webbench-1.5/ChangeLog
  24. [Root @ localhost src] # cd webbench-1.5
  25. [Root @ localhost webbench-1.5] # make writable Compiler
  26. Cc-Wall-ggdb-W-O-c-o webbench. o webbench. c
  27. Webbench. c: 77: warning: unused parameter 'signal'
  28. Cc-Wall-ggdb-W-O-o webbench. o
  29. Ctags *. c
  30. [Root @ localhost webbench-1.5] # mkdir/usr/local/man plugin create the appropriate directory or else the installation will fail)
  31. [Root @ localhost webbench-1.5] # make install uninstall Installer
  32. Install-s webbench/usr/local/bin
  33. Install-m 644 webbench.1/usr/local/man/man1
  34. Install-d/usr/local/share/doc/webbench
  35. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.