Linux operating system in the actual use of the operating system needs to carry out the web pressure test, through testing we can know the maximum amount of data hosted by the server, so that we further optimize or deploy the server to do data reference, where we should use what tools? Today, the Wind network takes you to the use of the three kinds of web stress testing tools that are commonly used in Linux.
The three tools are:
Linux Webbench
Apache AB
Jakarta-jmeter
Below we will explain and explain each of the work of the use of methods, so that we can better grasp the technology!
If you also have the need to share experience, you can click on the Wind network link Portal: http://www.ithov.com/member/article_add.php
Share your experience together!
1, Webbench
Official website: http://home.tiscali.cz/~cz210552/webbench_cz.html
The latest version is Web bench 1.5
Compile Installation:
wget http://home.tiscali.cz/~cz210552/distfiles/webbench-1.5.tar.gz
Tar zxvf webbench-1.5.tar.gz
CD webbench-1.5
Make && make install
Linux tools, search download compiled, use the following command to test:
Webbench-c 500-t http://127.0.0.1/test.jpg
Parameter Description:-C Indicates the number of concurrent,-T represents time (seconds)
Test Results Sample:
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
Clients, running Sec.
speed=3230 pages/min, 11614212 bytes/sec.
requests:1615 susceed, 0 failed.
Note:
Ps1:centos will report the following error during installation
Ctags *.c/bin/sh:ctags:command not found make: [tags] Error 127 (ignored)
Ps2:centos will report the following error during installation
Ctags *.c install-s webbench/opt/webbench/bin install-m 644-Webbench.1/opt/webbench/man/man1 Create Regular file '/opt/webbench/man/man1 ': No such file or directory make: * * * [install] Error 1
Just set up the/man/man1 under the installation directory/opt/webbench/
cd/opt/webbench/
mkdir Man
CD Man
mkdir Man1