<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>sixtydoses. where od is harmless. &#187; ubuntu</title>
	<atom:link href="http://sixtydoses.wordpress.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixtydoses.wordpress.com</link>
	<description>where od is harmless.</description>
	<lastBuildDate>Wed, 16 Dec 2009 07:07:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sixtydoses.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/2af3de6c113fb88ce025d26642515748?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>sixtydoses. where od is harmless. &#187; ubuntu</title>
		<link>http://sixtydoses.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sixtydoses.wordpress.com/osd.xml" title="sixtydoses. where od is harmless." />
		<item>
		<title>StatsView on Ubuntu Jaunty.</title>
		<link>http://sixtydoses.wordpress.com/2009/12/02/statsview-on-ubuntu-jaunty/</link>
		<comments>http://sixtydoses.wordpress.com/2009/12/02/statsview-on-ubuntu-jaunty/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:37:00 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=390</guid>
		<description><![CDATA[Quoted from StatsView README:
#####################################################
PREREQUISITES
&#8212;&#8212;&#8212;&#8212;-
StatsView is written in Perl5, using the Perl Tk extension library.  I recommend
that you use perl5.005_03 or later, and Tk800.014 or later, as StatsView has
been tested with these versions.  You will also need the Tk::GBARR add-on
package for this version.
The graphing is done with gnuplot, and version 3.7 or later is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=390&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quoted from StatsView README:</p>
<p>#####################################################</p>
<p><strong>PREREQUISITES</strong><br />
&#8212;&#8212;&#8212;&#8212;-</p>
<p>StatsView is written in Perl5, using the Perl Tk extension library.  I recommend<br />
that you use perl5.005_03 or later, and Tk800.014 or later, as StatsView has<br />
been tested with these versions.  You will also need the Tk::GBARR add-on<br />
package for this version.</p>
<p>The graphing is done with gnuplot, and version 3.7 or later is required -<br />
a copy can be found in the gnuplot_src subdirectory.</p>
<p>#####################################################</p>
<p>I already have Perl5 and gnuplot in my system, so I only need to install Perl Tk, Tk-GBARR and StatsView.</p>
<p>Install Perl Tk:</p>
<p><em>#apt-get install perl-tk</em></p>
<p><em><br />
</em></p>
<p>Grab Tk-GBARR from <a href="http://www.cpan.org/authors/id/SREZIC/">http://www.cpan.org/authors/id/SREZIC/</a>. At this time of writing the latest version of Tk-GBARR is 2.08:</p>
<p><em>#fetch <a href="http://www.cpan.org/authors/id/SREZIC/Tk-GBARR-2.08.tar.gz">http://www.cpan.org/authors/id/SREZIC/Tk-GBARR-2.08.tar.gz</a><br />
#tar xvfz Tk-GBARR-2.08.tar.gz<br />
#cd Tk-GBARR-2.08<br />
#perl Makefile.PL<br />
#make<br />
#make test<br />
#make install</em></p>
<p><em><br />
</em></p>
<p>Grab StatsView from <a href="http://www.cpan.org/authors/id/ABURLISON/">http://www.cpan.org/authors/id/ABURLISON/</a>.</p>
<p><em>#fetch <a href="http://www.cpan.org/authors/id/ABURLISON/StatsView-1.4.tar.gz">http://www.cpan.org/authors/id/ABURLISON/StatsView-1.4.tar.gz</a><br />
#tar xvfz StatsView-1.4.tar.gz<br />
#cd StatsView-1.4<br />
#perl Makefile.PL<br />
#make install<br />
#./scripts/sv</em></p>
<p><em><br />
</em></p>
<p>Test StatsView using the example included:</p>
<p><em>#cd /path/StatsView-1.4/examples<br />
#gzip -d sar.txt.gz<br />
#../scripts/sv sar.txt</em></p>
<p><em><br />
</em></p>
<p>It worked wonderfully using the sar output sample.. but I couldn&#8217;t get it to display any graph using my collection of sar output, both in binary and text formats. At this point am still not sure why it kept on complaining that my output file is invalid.</p>
<p>They are valid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa!!! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p>
<p>Now what am I supposed to tell my boss?</p>
<p>&#8220;Hi boss.. remember the Linux server performance data that I promised last week? I don&#8217;t have it.&#8221;<br />
&#8220;How come?&#8221;<br />
&#8220;I have it, but I don&#8217;t have it in a pwetty graph format like I pwomised.&#8221;<br />
&#8220;Well it&#8217;s okay you can pass me the raw data.&#8221;<br />
&#8220;It&#8217;s in binary.&#8221;<br />
&#8220;What?&#8221;<br />
&#8220;Uh.. you know there are 10 types of people in the world: Those who understand binary, and those who don&#8217;t&#8230;&#8221;<br />
&#8220;You don&#8217;t have anything to present, do you?&#8221;<br />
*GULP*</p>
<p>Source: <a href="http://jerkharris.com/books/books/PerlOrDBA/oracleperl-CHP-3-SECT-3.html">http://jerkharris.com/books/books/PerlOrDBA/oracleperl-CHP-3-SECT-3.html</a></p>
Posted in Tech Tagged: howto, linux, open source, ubuntu <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/390/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=390&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2009/12/02/statsview-on-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>If you&#8217;re sleepy, just sleep, don&#8217;t do your work.</title>
		<link>http://sixtydoses.wordpress.com/2008/03/25/if-youre-sleepy-just-sleep-dont-do-your-work/</link>
		<comments>http://sixtydoses.wordpress.com/2008/03/25/if-youre-sleepy-just-sleep-dont-do-your-work/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 09:08:33 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=26</guid>
		<description><![CDATA[I was so damn sleepy last night that I could hardly remember what I did before I went off to bed, but I do remember one thing &#8211; I switched off my external hdd without checking if I have safely unmount it from Windows. Actually I was too lazy to check and I forced myself [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=26&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was so damn sleepy last night that I could hardly remember what I did before I went off to bed, but I do remember one thing &#8211; I switched off my external hdd without checking if I have safely unmount it from Windows. Actually I was too lazy to check and I forced myself to believe that I have unmounted it.</p>
<p>Back in the office this morning I plugged in the hdd, and surprise, surprise.. Ubuntu recognized only one of the partition (I have two, &#8216;Work&#8217; and &#8216;Personal&#8217;). It gave me an error stating that it failed to mount due to unclean shutdown.</p>
<p>I remember having the similar error with the same hdd, even worse actually since both partitions failed to be mounted. But that happened after I borrowed my hdd to a colleague who is running on Vista, and it is pretty common to have that error once you try to boot it back on any *nix system. Back then I was using freebsd, and I normally mount it manually using the &#8220;mount -t ntfs /dev/da0s5 /mnt/hdd&#8221; command. ntfsfix didn&#8217;t solve the error, but ntfs-3g worked like a charm.</p>
<p>And so I tried to mount it manually on Ubuntu using ntfs-3g command, but it gave me this error:<br />
fuse: mount failed: Invalid argument</p>
<p>I installed ntfsprogs and tried to fix with ntfsfix. It completed successfully, but my attempt to mount the partition still failed.</p>
<p>I mounted it back on Windows, and checked on the disk management. While it recognized my &#8216;Work&#8217; partition as ntfs, my &#8216;Personal&#8217; partition was recognized as raw and unlabeled. So I labeled it, and run chkdsk against the volume. Mount it back on Ubuntu, and it worked! Yay <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Moral of the story is - Don&#8217;t work when you&#8217;re sleepy.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sixtydoses.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sixtydoses.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=26&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/03/25/if-youre-sleepy-just-sleep-dont-do-your-work/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
		<item>
		<title>I do take free stuff.</title>
		<link>http://sixtydoses.wordpress.com/2008/02/24/i-do-take-free-stuff/</link>
		<comments>http://sixtydoses.wordpress.com/2008/02/24/i-do-take-free-stuff/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 17:13:44 +0000</pubDate>
		<dc:creator>od</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vixta]]></category>

		<guid isPermaLink="false">http://sixtydoses.wordpress.com/?p=7</guid>
		<description><![CDATA[Finally managed to get the flash-plugin to work on Opera. I recently installed Ubuntu Gutsy Gibbon on my lappie replacing FreeBSD 6.2 to fulfill the training&#8217;s requirement I attended last week (but ended up I used the desktop provided). So back to flash, it was pretty annoying to get it working on Opera. I don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=7&subd=sixtydoses&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p ALIGN="left">Finally managed to get the flash-plugin to work on Opera. I recently installed Ubuntu Gutsy Gibbon on my lappie replacing FreeBSD 6.2 to fulfill the training&#8217;s requirement I attended last week (but ended up I used the desktop provided). So back to flash, it was pretty annoying to get it working on Opera. I don&#8217;t remember having this kinda problem back when I used Edge. Even linux-opera&#8217;s flash plugin works out of the box in freebsd.</p>
<div ALIGN="left"></div>
<p ALIGN="left">The solution is, use flash 7, it&#8217;ll work like a charm. Forget about flash 9.</p>
<div ALIGN="left"></div>
<p ALIGN="left">Several times I was asked why do I use unix/linux and not windows. Most of the time I&#8217;d give them the easiest and fundamental answer &#8211; it&#8217;s free.</p>
<div ALIGN="left"></div>
<p ALIGN="left">Logically, why would anyone opt for something that is expensive, when there are better products that come for free? It never really came across my mind before that one wouldn&#8217;t use linux because it&#8217;s free until I read this <a HREF="http://blog.anamazingmind.com/2008/02/why-linux-doesnt-spread-curse-of-being.html">article</a>. Funny, weird, but somehow it does make sense  afterall.</p>
<div ALIGN="left"></div>
<p ALIGN="left">On a different note, I tried <a HREF="http://sourceforge.net/project/showfiles.php?group_id=206087">vixta</a> on my vm. First try and it didn&#8217;t work out well. Some of the buttons weren&#8217;t functioning, but yea it does look like vista. Prolly it behaves like one too <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sixtydoses.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sixtydoses.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sixtydoses.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sixtydoses.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sixtydoses.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sixtydoses.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sixtydoses.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sixtydoses.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sixtydoses.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sixtydoses.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sixtydoses.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sixtydoses.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sixtydoses.wordpress.com&blog=2940614&post=7&subd=sixtydoses&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sixtydoses.wordpress.com/2008/02/24/i-do-take-free-stuff/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/07d46e83836a7a790d4385eacadb5adf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">od</media:title>
		</media:content>
	</item>
	</channel>
</rss>