<?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>TechniTip.Net &#187; monitoring</title>
	<atom:link href="http://technitip.net/tag/monitoring/feed" rel="self" type="application/rss+xml" />
	<link>http://technitip.net</link>
	<description>TechniTip.Net - Useful tips regarding technical stuff for things like Linux, MySQL, Apache, PHP, Linux Server, iPhone and more.</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:31:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://technitip.net</link>
<url>http://technitip.net/wp-content/plugins/maxblogpress-favicon/icons/favicon-66.ico</url>
<title>TechniTip.Net</title>
</image>
		<item>
		<title>Network Bandwidth Performance Measurement with Iperf</title>
		<link>http://technitip.net/network-bandwidth-performance-measurement-with-iperf</link>
		<comments>http://technitip.net/network-bandwidth-performance-measurement-with-iperf#comments</comments>
		<pubDate>Sat, 10 Jan 2009 15:48:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iperf]]></category>
		<category><![CDATA[measurement]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://technitip.net/?p=305</guid>
		<description><![CDATA[Another easy to use tool for measuring the network bandwidth is Iperf. On Debian it can be installed using: apt-get install iperf Optionally the source or the Windows binary is available from sourceforge.net/projects/iperf Building and installing from source is done using a few commands: tar xvfz iperf-2.0.4.tar.gz cd iperf-2.0.4 ./configure make make install Once installed [...]<div style="clear: both;">
<strong>Related posts:</strong><ol>
<li><a href='http://technitip.net/network-throughput-measurement' rel='bookmark' title='Network Throughput Measurement'>Network Throughput Measurement</a></li>
<li><a href='http://technitip.net/continous-ssh-attacks' rel='bookmark' title='Continous SSH Attacks'>Continous SSH Attacks</a></li>
<li><a href='http://technitip.net/network-utility-for-iphone' rel='bookmark' title='&#8220;Network Utility&#8221; for iPhone'>&#8220;Network Utility&#8221; for iPhone</a></li>
</ol></div>]]></description>
			<content:encoded><![CDATA[<p>Another easy to use tool for measuring the network bandwidth is <a title="Iperf" href="http://sourceforge.net/projects/iperf" target="_blank">Iperf</a>. On Debian it can be installed using:</p>
<pre>apt-get install iperf</pre>
<p>Optionally the source or the Windows binary is available from <a title="Iperf on SourceForge.Net" href="http://sourceforge.net/projects/iperf" target="_blank">sourceforge.net/projects/iperf</a></p>
<p>Building and installing from source is done using a few commands:</p>
<pre>tar xvfz iperf-2.0.4.tar.gz
cd iperf-2.0.4
./configure
make
make install</pre>
<p>Once installed iperf the server is started on machine 1:</p>
<pre>machine1:~# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------</pre>
<p>Next the client is started on machine 2:</p>
<pre>machine2:~# iperf -c machine1.mydomain.de
------------------------------------------------------------
Client connecting to machine1.mydomain.de, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local xx.xx.xx.xx port 45325 connected with yy.yy.yy.yyport 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  96.6 MBytes  80.9 Mbits/sec</pre>
<p>Tested on two servers connected with 100 MBit/s located at two different providers in Germany we get a result of 80.9 MBits/sec.</p>
<p>This result is slightly higher compared to the result from our measurement done with NETIO in the article <a href="http://technitip.net/network-throughput-measurement" title="Network Throughput Measurement">Network Throughput Measurement</a>. So we start the test again with addtional parameters:</p>
<pre>machine2:~# iperf -c machine1.mydomain.de -w 512k -l 512k
------------------------------------------------------------
Client connecting to machine1.mydomain.de, TCP port 5001
TCP window size:   256 KByte (WARNING: requested   512 KByte)
------------------------------------------------------------
[  3] local xx.xx.xx.xx port 40987 connected with yy.yy.yy.yyport 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  72.0 MBytes  60.3 Mbits/sec</pre>
<p>Now using modified read/write buffer size and TCP windows size we get almost the same result as in our test with <a href="http://technitip.net/network-throughput-measurement" title="Network Throughput Measurement">netio</a>.</p>
<p>Definitely a tool which can be recommended to check your network throughput!</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftechnitip.net%2Fnetwork-bandwidth-performance-measurement-with-iperf&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:80px;" allowTransparency="true"></iframe></div><div style="clear: both;"><p><strong>Related posts:</strong><ol>
<li><a href='http://technitip.net/network-throughput-measurement' rel='bookmark' title='Network Throughput Measurement'>Network Throughput Measurement</a></li>
<li><a href='http://technitip.net/continous-ssh-attacks' rel='bookmark' title='Continous SSH Attacks'>Continous SSH Attacks</a></li>
<li><a href='http://technitip.net/network-utility-for-iphone' rel='bookmark' title='&#8220;Network Utility&#8221; for iPhone'>&#8220;Network Utility&#8221; for iPhone</a></li>
</ol></p></div>]]></content:encoded>
			<wfw:commentRss>http://technitip.net/network-bandwidth-performance-measurement-with-iperf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Network Traffic Monitoring</title>
		<link>http://technitip.net/traffic-monitoring</link>
		<comments>http://technitip.net/traffic-monitoring#comments</comments>
		<pubDate>Tue, 30 Dec 2008 12:36:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[traffic]]></category>

		<guid isPermaLink="false">http://planlos.org/~harry/php/?p=61</guid>
		<description><![CDATA[You are running a Linux server and have no possibility to monitor your traffic monthly, daily, weekly etc? Then you really should try vnstat. I like it because it&#8217;s: easy to install easy to use collects long term traffic statistics doesn&#8217;t generate much CPU load For people who don&#8217;t like the shell check out the [...]<div style="clear: both;">
<strong>Related posts:</strong><ol>
<li><a href='http://technitip.net/status-of-a-software-raid-under-linux' rel='bookmark' title='Status of a Software RAID under Linux'>Status of a Software RAID under Linux</a></li>
<li><a href='http://technitip.net/network-bandwidth-performance-measurement-with-iperf' rel='bookmark' title='Network Bandwidth Performance Measurement with Iperf'>Network Bandwidth Performance Measurement with Iperf</a></li>
<li><a href='http://technitip.net/network-throughput-measurement' rel='bookmark' title='Network Throughput Measurement'>Network Throughput Measurement</a></li>
</ol></div>]]></description>
			<content:encoded><![CDATA[<p>You are running a Linux server and have no possibility to monitor your traffic monthly, daily, weekly etc? Then you really should try <a title="vnstat" href="http://humdi.net/vnstat/" target="_self">vnstat</a>. I like it because it&#8217;s:</p>
<ul>
<li>easy to install</li>
<li>easy to use</li>
<li>collects long term traffic statistics</li>
<li>doesn&#8217;t generate much CPU load</li>
</ul>
<p>For people who don&#8217;t like the shell check out the <a title="vnstat PHP frontend" href="http://www.sqweek.com/sqweek/index.php?p=1" target="_blank">vnstat PHP frontend</a>.</p>
<p>Installation is esay using Debian Etch:</p>
<pre>apt-get install vnstat
vnstat -u -i eth0</pre>
<p>For certain virtual servers you have to use a different ethernet interface than &#8220;eth0&#8243;, e.g. &#8220;venet0&#8243;:</p>
<pre>vnstat -u -i venet0</pre>
<p>That&#8217;s all.  <a title="vnstat" href="http://humdi.net/vnstat/" target="_self">vnstat</a> will now be executed periodically from cron. Some time passed you can check your traffic, like in the example below.</p>
<pre>host:~# vnstat -m

eth0  /  monthly

 month         rx      |      tx      |   total
-----------------------+--------------+--------------------------------------
Jan '08     252.40 GB  |     4.17 TB  |     4.41 TB   %:::::::::::
Feb '08     140.07 GB  |     3.96 TB  |     4.10 TB   :::::::::::
Mar '08     152.46 GB  |     4.21 TB  |     4.36 TB   ::::::::::::
Apr '08     150.35 GB  |     4.11 TB  |     4.26 TB   ::::::::::::
May '08     118.78 GB  |     3.53 TB  |     3.65 TB   ::::::::::
Jun '08     144.95 GB  |     4.54 TB  |     4.68 TB   :::::::::::::
Jul '08     157.09 GB  |     4.91 TB  |     5.06 TB   ::::::::::::::
Aug '08     160.96 GB  |     5.01 TB  |     5.17 TB   :::::::::::::::
Sep '08     172.33 GB  |     5.43 TB  |     5.60 TB   ::::::::::::::::
Oct '08     189.69 GB  |     6.12 TB  |     6.31 TB   %:::::::::::::::::
Nov '08     190.89 GB  |     6.52 TB  |     6.71 TB   %::::::::::::::::::
Dec '08     209.59 GB  |     7.35 TB  |     7.55 TB   %:::::::::::::::::::::
-----------------------+--------------+--------------------------------------
estimated   219.94 GB  |     7.71 TB  |     7.93 TB</pre>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftechnitip.net%2Ftraffic-monitoring&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:80px;" allowTransparency="true"></iframe></div><div style="clear: both;"><p><strong>Related posts:</strong><ol>
<li><a href='http://technitip.net/status-of-a-software-raid-under-linux' rel='bookmark' title='Status of a Software RAID under Linux'>Status of a Software RAID under Linux</a></li>
<li><a href='http://technitip.net/network-bandwidth-performance-measurement-with-iperf' rel='bookmark' title='Network Bandwidth Performance Measurement with Iperf'>Network Bandwidth Performance Measurement with Iperf</a></li>
<li><a href='http://technitip.net/network-throughput-measurement' rel='bookmark' title='Network Throughput Measurement'>Network Throughput Measurement</a></li>
</ol></p></div>]]></content:encoded>
			<wfw:commentRss>http://technitip.net/traffic-monitoring/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

