by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

Siege is an http load testing and benchmarking tool. Used to stress test the code.
Siege supports basic authentication, cookies, HTTP, HTTPS and FTP protocols.
It allows users to access web servers by simulating concurrent connections etc.

If automake is not installed in the OSX system, please download and install it from Gnu FTP first. The version I use in this article is version 1.16.
http://ftp.gnu.org/gnu/automake/
In the automake directory, the compilation method is very simple
./configure
make
make install

First of all, of course, you must download the Source Code from github.
git clone https://github.com/JoeDog/siege
Enter the directory, execute the following instructions, compile and install
utils/bootstrap
./configure
make
make install
The command is as follows:
siege -d10 -c10 -i -f urls.txt
The file of urls.txt can be as follows:
http://example.test/
http://example.test/path1
http://example.test/path2
-d10 is delay
-c10 is the number of simultaneous connections
-i Simulate the user randomly clicking on the URL
-f selects the specified URL

Tags:

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel,letsencrypt,haproxy

PHPENV's HAProxy environment is set up with free SSL certificate application

PHPENV has added the support of haproxy.yml. If you have an external IP and domain name, it should be quite simple to get HAProxy and certificate application through deviny/phpenv. In this article, let us see how to use HAProxy in the HAProxy environment setting in PHPENV.

laravel

Random passwords in Laravel maintenance mode

The functions mentioned in this article can only be used for Laravel 8 and later versions. If we have some test websites outside Laravel with external IPs, but we only want to access them for ourselves. Here's how I did it for reference

linux,macos

PS aux will you?

For Linux system administrators, you must understand the ps aux command. If you want to be a Linux system administrator, or you are a Linux user, you should understand this command. ps is process status For short, anyone can find out what kind of program is running on the system and how the status is executed through this command. I saw some programs that should not appear, maybe the system was hacked and used to mine🥹