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

Install siege stress test

2025-01-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

First, install siege

Wget http://download.joedog.org/siege/siege-latest.tar.gz

Tar-zxvf siege-latest.tar.gz

Cd siege-3.0.0

. / configure-- prefix=/usr/local/siege-- mandir=/usr/local/man-- with-ssl=/usr/local/ssl

Mkdir-p / usr/local/siege/etc/

Mkdir-p / usr/local/siege/var/

Make

Make install

Create a .siegec.config configuration file to the current user's home directory

/ usr/local/siege/bin/siege.config

Installation completed

Second, test siege

50 users (concurrency per time, note not concurrency per second) repeat 100 times to produce a total of 50 * 100 = 5000 requests

/ usr/local/siege/bin/siege-c 50-r 100 https://www.google.com

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

Internet Technology

Wechat

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

12
Report