Install webbench on centos

Source: Internet
Author: User

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.

1. applicable system: Linux

2. Compile and install:

Reference wget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gz
Tar zxvf webbench-1.5.tar.gz
CD webbench-1.5
Make & make install

3. Usage:

Reference webbench-C 500-T 30 http: // 127.0.0.1/test.jpg

Parameter description:-C indicates the number of concurrencies, and-T indicates the time (seconds)

4. Test Result example:

Reference webbench-simple web benchmark 1.5.
Copyright (c) Radim Kolar 1997-2004, GPL open source software.

Benchmarking: Get http: // 127.0.0.1/test.jpg
500 clients, running 30 sec.

Speed = 3230 pages/min, 11614212 Bytes/sec.
Requests: 1615 susceed, 0 failed.

Problems with centos installation:

1. Make errors

When installing and compiling webshells,

The following error message ctags *. c/bin/sh: ctags: Command not foundmake: [tags] Error 127 (ignored) indicates that the ctags command is missing and I have not installed it,

Run the following command to run Yum install ctags.

2. Make install: an error is reported.

[Root @ ip-10-146-21-171] # make install
Install-s webbench/usr/local/bin
Install-M 644 webbench.1/usr/local/man/Man1
Install: cannot create regular file '/usr/local/man/man1': no such file or directory
Make: *** [install] Error 1

Run mkdir-P/usr/local/man/Man1.

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.