Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation and use of Linux stress testing tool webbench

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the installation and use of Linux stress testing tool webbench". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install and use the Linux stress testing tool webbench.

One step forward, one step closer, good,webbench can simulate up to 30, 000 concurrent connections to test the load capacity of the website, which is better than the ab stress test tool that comes with Apache, and is particularly convenient to install and use.

1. Linux stress testing tool webbench applicable system: Linux

2. Linux stress testing tool webbench compilation and installation:

Quote

Wget tar zxvf webbench-1.5.tar.gz

Cd webbench-1.5

Make & & make install

3. Linux stress testing tool webbench uses:

Quote

Webbench-c 500-t 30 parameter description:-c indicates the number of concurrency, and-t represents time (seconds)

4. Example of webbench test results of Linux stress test tool:

Quote

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, 000 concurrent connections to test the load capacity of the website, which is better than the ab stress testing tool that comes with Apache, and is particularly convenient to install and use.

Applicable system: Linux

[2] download

[root@localhost src] # wget ← download source program

-15, 14, 46, 14, 22, 22, 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: 7675 (7.5K) [application/octet-stream]

100% [] 7675 8.62K/s

15:46:30 (8.62 KB/s)-`The webbench-1.5.tar.gz' saved [7675thumb 7675]

[3] decompress, compile and install

[root@localhost src] # tar zxvf webbench-1.5.tar.gz ← extract the 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 ← 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 webbench.o

Ctags * .c

[root@localhost webbench-1.5] # mkdir / usr/local/man ← sets up the corresponding directory (otherwise it can not be installed properly)

[root@localhost webbench-1.5] # make install ← 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, 000 concurrent connections to test the load capacity of the website, which is better than the ab stress test tool that comes with Apache, and is particularly convenient to install and use.

At this point, I believe you have a deeper understanding of "the installation and use of Linux stress testing tool webbench". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report