<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Network Traffic Graphs</title>
	<atom:link href="http://blog.linode.com/2005/10/23/network-traffic-graphs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/</link>
	<description>Announcements, news, and musings from your pals at Linode.com</description>
	<lastBuildDate>Tue, 24 Jan 2012 21:18:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jbent</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-456</link>
		<dc:creator>jbent</dc:creator>
		<pubDate>Sun, 30 Oct 2005 17:21:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-456</guid>
		<description>Thank-you!  :D The graphs are beautiful and very handy when checking my member account.  I appreciate this added feature very much.</description>
		<content:encoded><![CDATA[<p>Thank-you!  <img src='http://blog.linode.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  The graphs are beautiful and very handy when checking my member account.  I appreciate this added feature very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xinu</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-455</link>
		<dc:creator>xinu</dc:creator>
		<pubDate>Sat, 29 Oct 2005 00:11:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-455</guid>
		<description>Beautiful graphs, thank you. An RSS feed containing the textual data under the graphs might be useful too.

(I&#039;ve reconsidered the utility of the GM script that was previously posted here, and removed it.)</description>
		<content:encoded><![CDATA[<p>Beautiful graphs, thank you. An RSS feed containing the textual data under the graphs might be useful too.</p>
<p>(I&#8217;ve reconsidered the utility of the GM script that was previously posted here, and removed it.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rjp</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-454</link>
		<dc:creator>rjp</dc:creator>
		<pubDate>Tue, 25 Oct 2005 01:13:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-454</guid>
		<description>If you use [url=http://people.ee.ethz.ch/~oetiker/webtools/mrtg/]MRTG[/url], you can make a graph of I/O token usage, or anything else graphable.

Here&#039;s a Perl script for collecting the token count:
[code]
#!/usr/bin/perl

$line = `/usr/bin/uptime`;
&#040;$uptime&#041; = &#040;$line =~ m/^.*up &#040;.*&#041;,\s+\d+\s+users*,\s+load average&#058;.*$/o&#041;;

$host = `/bin/hostname`;

open IOSTATUS, &quot;/proc/io_status&quot;;
$line = &lt;IOSTATUS&gt;;
close IOSTATUS;

&#040;$count&#041; = &#040;$line =~ m/^io_count=&#040;\d+&#041; .*$/o&#041;;

print &quot;$count\n0\n$uptime\n$host\n&quot;;

[/code]

And here is the stanza for mrtg.cfg:

[code]
Title&#091;io_rate&#093;&#058; I/O Rate for Linode VPS
Target&#091;io_rate&#093;&#058; `/usr/local/bin/tokenrate.pl`
PageTop&#091;io_rate&#093;&#058; &lt;H1&gt;I/O Token Usage Rate&lt;/H1&gt;
Options&#091;io_rate&#093;&#058; logscale
MaxBytes&#091;io_rate&#093;&#058; 400000
YLegend&#091;io_rate&#093;&#058; Tokens/sec
ShortLegend&#091;io_rate&#093;&#058; Tokens/sec
LegendI&#091;io_rate&#093;&#058; &nbsp;Tokens/sec&#058;
LegendO&#091;io_rate&#093;&#058; &nbsp;
Legend1&#091;io_rate&#093;&#058; I/O Token Usage Rate
Legend2&#091;io_rate&#093;&#058; &nbsp;

[/code]

I use the [b]logscale[/b] option to plot the graphs with a logarithmic scale, so that low rates don&#039;t get lost among large peaks.</description>
		<content:encoded><![CDATA[<p>If you use [url=http://people.ee.ethz.ch/~oetiker/webtools/mrtg/]MRTG[/url], you can make a graph of I/O token usage, or anything else graphable.</p>
<p>Here&#8217;s a Perl script for collecting the token count:<br />
[code]<br />
#!/usr/bin/perl</p>
<p>$line = `/usr/bin/uptime`;<br />
&#40;$uptime&#41; = &#40;$line =~ m/^.*up &#40;.*&#41;,\s+\d+\s+users*,\s+load average&#58;.*$/o&#41;;</p>
<p>$host = `/bin/hostname`;</p>
<p>open IOSTATUS, &quot;/proc/io_status&quot;;<br />
$line = &lt;IOSTATUS&gt;;<br />
close IOSTATUS;</p>
<p>&#40;$count&#41; = &#40;$line =~ m/^io_count=&#40;\d+&#41; .*$/o&#41;;</p>
<p>print &quot;$count\n0\n$uptime\n$host\n&quot;;</p>
<p>[/code]</p>
<p>And here is the stanza for mrtg.cfg:</p>
<p>[code]<br />
Title&#91;io_rate&#93;&#58; I/O Rate for Linode VPS<br />
Target&#91;io_rate&#93;&#58; `/usr/local/bin/tokenrate.pl`<br />
PageTop&#91;io_rate&#93;&#58; &lt;H1&gt;I/O Token Usage Rate&lt;/H1&gt;<br />
Options&#91;io_rate&#93;&#58; logscale<br />
MaxBytes&#91;io_rate&#93;&#58; 400000<br />
YLegend&#91;io_rate&#93;&#58; Tokens/sec<br />
ShortLegend&#91;io_rate&#93;&#58; Tokens/sec<br />
LegendI&#91;io_rate&#93;&#58; &amp;nbsp;Tokens/sec&#58;<br />
LegendO&#91;io_rate&#93;&#58; &amp;nbsp;<br />
Legend1&#91;io_rate&#93;&#58; I/O Token Usage Rate<br />
Legend2&#91;io_rate&#93;&#58; &amp;nbsp;</p>
<p>[/code]</p>
<p>I use the [b]logscale[/b] option to plot the graphs with a logarithmic scale, so that low rates don&#8217;t get lost among large peaks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schmichael</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-453</link>
		<dc:creator>schmichael</dc:creator>
		<pubDate>Mon, 24 Oct 2005 16:05:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-453</guid>
		<description>Beautiful graphs!  Thanks Mike &amp; Caker!  Any chance of an io_token graph anytime soon?  Since thats always been the main bottleneck for my linode, it&#039;d be handy.</description>
		<content:encoded><![CDATA[<p>Beautiful graphs!  Thanks Mike &amp; Caker!  Any chance of an io_token graph anytime soon?  Since thats always been the main bottleneck for my linode, it&#8217;d be handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inkblot</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-452</link>
		<dc:creator>inkblot</dc:creator>
		<pubDate>Mon, 24 Oct 2005 15:37:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-452</guid>
		<description>What data point am I looking at here?</description>
		<content:encoded><![CDATA[<p>What data point am I looking at here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graham</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-451</link>
		<dc:creator>graham</dc:creator>
		<pubDate>Mon, 24 Oct 2005 12:33:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-451</guid>
		<description>Very useful. I was also thinking of doing this myself, thanks for saving us the work.</description>
		<content:encoded><![CDATA[<p>Very useful. I was also thinking of doing this myself, thanks for saving us the work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cederberg</title>
		<link>http://blog.linode.com/2005/10/23/network-traffic-graphs/comment-page-1/#comment-450</link>
		<dc:creator>cederberg</dc:creator>
		<pubDate>Mon, 24 Oct 2005 06:54:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-450</guid>
		<description>Looks great! This is really great information to have easily accessible like this. Good thing that I was too lazy to implement it myself... Now you&#039;ve just saved all the work for me! :-)

Thanks!</description>
		<content:encoded><![CDATA[<p>Looks great! This is really great information to have easily accessible like this. Good thing that I was too lazy to implement it myself&#8230; Now you&#8217;ve just saved all the work for me! <img src='http://blog.linode.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

