<?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>Talk @ TLADI.NET &#187; bandwidth</title>
	<atom:link href="http://talk.tladi.net/tag/bandwidth/feed/" rel="self" type="application/rss+xml" />
	<link>http://talk.tladi.net</link>
	<description>News, Status and Technical Information</description>
	<lastBuildDate>Sat, 07 Nov 2009 05:39:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>HOWTO: CentOS: vnstat</title>
		<link>http://talk.tladi.net/2009/11/07/howto-centos-vnstat/</link>
		<comments>http://talk.tladi.net/2009/11/07/howto-centos-vnstat/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 05:09:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://talk.tladi.net/?p=67</guid>
		<description><![CDATA[Vnstat is a useful tool for keeping an eye on your bandwidth usage. This utility doesn&#8217;t require any special type of access to your ethernet interfaces either, as it reads all of its data from the /proc filesystem. At the time of writing, vnstat is not available in the native CentOS repositories, so installation requires [...]]]></description>
			<content:encoded><![CDATA[<p>Vnstat is a useful tool for keeping an eye on your bandwidth usage. This utility doesn&#8217;t require any special type of access to your ethernet interfaces either, as it reads all of its data from the /proc filesystem.</p>
<p>At the time of writing, vnstat is not available in the native CentOS repositories, so installation requires downloading, compiling and installing the application from source.</p>
<p>The following steps will walk you through that:<br />
<tt><br />
1.) Get the source:<br />
cd /usr/local/src<br />
wget http://humdi.net/vnstat/vnstat-1.9.tar.gz</p>
<p>2.) Unpack it:<br />
tar -zxf vnstat-1.9.tar.gz</p>
<p>3.) Build it:<br />
cd vnstat-1.9<br />
make<br />
make install</p>
<p>4.) Test compatibility with your current kernel:<br />
vnstat --testkernel</p>
<p>5.) See your available interfaces:<br />
vnstat --iflist</p>
<p>6.) Initialise the databases for the interfaces you wish to monitor:<br />
vnstat -u -i eth0</p>
<p>7.) Install the start up script:<br />
cp examples/init.d/centos/vnstat /etc/init.d/</p>
<p>8.) Set the start up script runlevels:<br />
chkconfig --levels 2345 vnstat on</p>
<p>9.) Start the vnstat daemon:<br />
/etc/init.d/vnstat start<br />
</tt></p>
<p>That&#8217;s all there is to it. Now you can keep an eye on your bandwidth usage. e.g. set up a simple script run via cron to email you your stats each day.</p>
]]></content:encoded>
			<wfw:commentRss>http://talk.tladi.net/2009/11/07/howto-centos-vnstat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

