<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>install siege benchmarking tool Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/install-siege-benchmarking-tool/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 08 Dec 2020 16:11:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Siege Benchmarking Tool On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-siege-benchmarking-tool-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-siege-benchmarking-tool-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sat, 12 Dec 2020 01:54:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install siege]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[install siege benchmarking tool]]></category>
		<category><![CDATA[ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26458</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install Siege Benchmarking tool on Ubuntu 20.04. Siege is an open source product used for the multi thread load testing &#38; benchmarking in Linux. It allows you to perform stress test for single URL or multi URL&#8217;s in order to stress them at a time. Siege [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-siege-benchmarking-tool-on-ubuntu-20-04/">How To Install Siege Benchmarking Tool On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that <a href="https://www.osradar.com/?p=26458" target="_blank" rel="noreferrer noopener">how to install Siege Benchmarking tool</a> on Ubuntu 20.04. Siege is an open source product used for the multi thread load testing &amp; benchmarking in Linux. It allows you to perform stress test for single URL or multi URL&#8217;s in order to stress them at a time. Siege have also the functionality to test the web servers with n no. of users for t no. of times. So, it provides you the better experience by operating in 3 modes as Regression, Internet Simulation &amp; the brute force. So, here we&#8217;ll see the steps to install Siege Benchmarking on Ubuntu 20.04.</p>



<h2>Step 1: Update Your System</h2>



<p>First of all update your system to have the latest updates installed.</p>



<pre class="wp-block-preformatted">sudo apt update -y</pre>



<h3>Step 2: Install Siege Benchmarking Tool On Ubuntu 20.04</h3>



<p>Once the update finished, move towards the installation process of Siege benchmarking tool on Ubunut 20.04. As Siege is already available in Ubuntu repositories. So, you&#8217;ve to simply run the following command in your terminal to install it on your system.</p>



<pre class="wp-block-preformatted">sudo apt install siege -y</pre>



<p>Once it is installed on your system, verify the siege version by typing.</p>



<pre class="wp-block-preformatted">siege --version</pre>



<p>You&#8217;ll see the similar output:</p>



<pre class="wp-block-preformatted">sabi@Ubuntu20:~$ siege --version
New configuration template added to /home/sabi/.siege
Run siege -C to view the current settings in that file
SIEGE 4.0.4
Copyright (C) 2017 by Jeffrey Fulmer, et al.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.</pre>



<h3>Step 3: Configure Siege on Ubuntu 20.04</h3>



<p>Now, it&#8217;s time to configure Siege on Ubuntu 20.04. You can find the siege configuration file under <strong>/etc/siege/</strong> directory. Now, type the below command to edit the siege configuration file.</p>



<pre class="wp-block-preformatted">sudo nano /etc/siege/siegerc</pre>



<p>And then uncomment the below line in order to set the log file for siege.</p>



<pre class="wp-block-preformatted">logfile = $(HOME)/var/log/siege.log</pre>



<p>After performing the above action, save &amp; exit the file.</p>



<h3>Step 4: Testing a single website with Siege</h3>



<p>In order to test the load of a single website, run the following command</p>



<pre class="wp-block-preformatted">siege test.osradar.com</pre>



<p>You&#8217;ll see the similar output as shown below:</p>



<pre class="wp-block-preformatted">Transactions: 57832 hits
Availability: 99.95 %
Elapsed time: 401.49 secs
Data transferred: 706.55 MB
Response time: 0.17 secs
Transaction rate: 144.04 trans/sec
Throughput: 1.76 MB/sec
Concurrency: 24.35
Successful transactions: 57852
Failed transactions: 31
Longest transaction: 100.01
Shortest transaction: 0.00</pre>



<h3>Step 5: Testing Multiple Websites with Siege</h3>



<p>In order to test multiple websites with the help of siege, you&#8217;ve to first add the URL&#8217;s of all wesites in the <strong>/etc/siege/urls.txt </strong>file. Run the following command to edit the file.</p>



<pre class="wp-block-preformatted">sudo nano /etc/siege/urls.txt</pre>



<p>And then type the desired websites URL&#8217;s or IP&#8221;s you want to test for load. Make sure to type only one URL in a line as you can seen below:</p>



<pre class="wp-block-preformatted">http://example1.com
www.example.com
192.168.0.2</pre>



<p>After updating the file save it &amp; exit. Once done, run the siege command to test all the URL&#8217;s by specifying the URL file.</p>



<pre class="wp-block-preformatted">siege -f /etc/siege/urls.txt</pre>



<p>After hitting the above command, siege will perform the test for all URL&#8217;s provided in the file one by one.</p>



<p>See the below options of siege command along with explaination of each.</p>



<pre class="wp-block-verse">-t : Specify the time limit for which siege runs.
-c : To mention the no. of concurrent users.
-d : It is used to specify the delay time for concurrent users.
-C : To specify your own config file.
-i : In order to test different random URL's.
-T : Specify the type of content .
-h : To see the manual for help..
-l : For generating log files.</pre>



<p>So, this is how you can install &amp; use siege benchmarking tool on Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-siege-benchmarking-tool-on-ubuntu-20-04/">How To Install Siege Benchmarking Tool On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-siege-benchmarking-tool-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
