<?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>mundane idiosyncrasies</title>
	<atom:link href="http://deadlockprocess.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://deadlockprocess.wordpress.com</link>
	<description>stuffs... just stuffs...</description>
	<lastBuildDate>Mon, 19 Dec 2011 00:44:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='deadlockprocess.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>mundane idiosyncrasies</title>
		<link>http://deadlockprocess.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://deadlockprocess.wordpress.com/osd.xml" title="mundane idiosyncrasies" />
	<atom:link rel='hub' href='http://deadlockprocess.wordpress.com/?pushpress=hub'/>
		<item>
		<title>a poke on SSD write endurance, Intel SSD 320 and iostat</title>
		<link>http://deadlockprocess.wordpress.com/2011/12/06/a-poke-on-ssd-write-endurance-intel-ssd-320-and-iostat/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/12/06/a-poke-on-ssd-write-endurance-intel-ssd-320-and-iostat/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 00:22:09 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[centos/rhel]]></category>
		<category><![CDATA[ganeti]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[ssd]]></category>
		<category><![CDATA[intel 320]]></category>
		<category><![CDATA[iostat]]></category>
		<category><![CDATA[SSD RAID]]></category>
		<category><![CDATA[ssd write endurance]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=426</guid>
		<description><![CDATA[The decision to move  to virtualization-using-KVM as our standard way of deploying servers  was really a success, given the cost savings for the past 2 years. The only downside is the performance hit in intensive disk IO workloads. Some disk IO issues were already addressed in the application side (e.g. use cache, tmpfs, etc., smaller [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=426&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The decision to move  to virtualization-using-KVM as our standard way of deploying servers  was really a success, given the cost savings for the past 2 years. The only downside is the performance hit in intensive disk IO workloads.</p>
<p>Some disk IO issues were already addressed in the application side (e.g. use cache, tmpfs, etc., smaller logs) but it&#8217;s apparent that if we want our deployment to be more &#8220;denser&#8221;, we have to find alternatives for our current storage back-end. Probably not a total replacement but more of a hybrid approach.</p>
<p>Solid State Drives is probably the the best option. It is cheaper compared against Storage Area Networks. I like the idea even more because it&#8217;s a simple drop-in replacement to our current SAS/SATA drives compared against maintaining additional hardware. Besides, my team does not have the luxury of &#8220;unlimited&#8221; budgets.</p>
<p>After a lengthy discussion with my MD, he approved to perform some tests first to see if SSD route is feasible for us. I chose to use 4 120GB Intel SSD 320s. The plan was to setup these 4 drives in a RAID 10 array and see if how how many virtual machines it can handle.</p>
<p><a href="http://deadlockprocess.files.wordpress.com/2011/12/img_0582.jpg"><img class="aligncenter size-full wp-image-442" title="IMG_0582" src="http://deadlockprocess.files.wordpress.com/2011/12/img_0582.jpg?w=600&#038;h=399" alt="" width="600" height="399" /></a></p>
<p>I chose Intel because it&#8217;s SSDs are more reliable among the brands in the market today. If performance is the primary requirement, I&#8217;d choose a SSD with a SandForce controller (maybe OCZ) but its not, its reliability.</p>
<p>The plan was to set-up a RAID  10 array of four 320s. But since our supplier can only provide us with 3 drives at the time we ordered, I decided to go with a RAID 0 array of 2 drives instead. I can&#8217;t wait for the 4th drive. (It turned out to be a good decision because the 4th drive arrived after 2 months!).</p>
<p><a href="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxxx-2.png"><img class="aligncenter size-full wp-image-438" title="Screenshot-[screen 4: bash] root@xxxx:~-2" src="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxxx-2.png?w=600&#038;h=145" alt="" width="600" height="145" /></a></p>
<p>The Intel 320s write endurance, 160GB version, are rated at <a href="http://www.intel.com/content/dam/doc/product-specification/ssd-320-enterprise-server-storage-application-specification-addendum.pdf" target="_blank">15TB</a>. My premise was, if we&#8217;re going to write 10GB of data per day, it will take almost 5 year to reach that limit. And in theory, if it&#8217;s configured in a striped RAID array, it will be a lot longer than 5 years.</p>
<p>It&#8217;s been over a month since I set-up the ganeti node with the SSD storage, so I decided to check and see its total writes.</p>
<p><a href="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxxx32.png"><img class="aligncenter size-full wp-image-444" title="screenshot-screen-4-bash-rootxxxx3" src="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxxx32.png?w=600&#038;h=417" alt="" width="600" height="417" /></a></p>
<p>The ganeti node has been running for 45 days. /dev/sda3 is the LVM volume configured for ganeti to use. The total blocks written is 5,811,473,792 at the rate of 1,468.85 blocks per second.  Since 1 block = 512 bytes, this translates to 2,975,474,581,504 bytes (2.9TB) at the rate of  752,051.2 bytes per second (752kB/s). The write rate translates to 64,977,223,680 bytes (64.5GB) of total writes per day! Uh oh&#8230;</p>
<p>64.5GB/day is remotely near from my premise of 10GB/day. At this rate, my RAID array will die in less than 2 years!</p>
<p>Uh oh indeed&#8230;</p>
<p>It turned out that 2 of the KVM instances that I assigned to this ganeti node are DB servers. We migrated it here a few weeks back to fix a high IO problem. A move that cost the Intel 320s a big percentage of its lifespan.</p>
<p>It seems that 64GB/per day is huge but apparently, it&#8217;s typical on our production servers. Here&#8217;s an iostat of one of our web servers:</p>
<p><a href="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxx125.png"><img class="aligncenter size-full wp-image-448" title="Screenshot-[screen 4: bash] root@xxx125:~" src="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxx125.png?w=600&#038;h=302" alt="" width="600" height="302" /></a></p>
<p>I&#8217;m definitely NOT going to move this server to a SSD array anytime soon.</p>
<p>As a whole, the test ganeti node has been very helpful. I learned a few things that will be a big factor on what hardware we&#8217;re going to purchase.</p>
<p>Some points that my team must keep in mind if we&#8217;ll pursue the SSD route:</p>
<ul>
<li>IO workload profiling is a must (must monitor this regularly as well)</li>
<li>leave write intensive VMs in HDD arrays or</li>
<li>consider Intel SSD 710 ??? (high write endurance = hefty price tag)</li>
</ul>
<p>I didn&#8217;t leave our SSD array to die that fast of course. I migrated the DB servers to a different ganeti node and replaced it with some application servers.</p>
<p><a href="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-3-bash-rootxxx1395.png"><img class="aligncenter size-full wp-image-449" title="Screenshot-[screen 3: bash] root@xxx1395:~" src="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-3-bash-rootxxx1395.png?w=600&#038;h=314" alt="" width="600" height="314" /></a></p>
<p>It decreased the writes to 672.31 blocks/sec (344kB/s), more than half of its previous rate.</p>
<p>Eventually, the RAID array will die of course. For how long exactly, I don&#8217;t know, &gt; 2 years? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/centosrhel/'>centos/rhel</a>, <a href='http://deadlockprocess.wordpress.com/category/ganeti/'>ganeti</a>, <a href='http://deadlockprocess.wordpress.com/category/hardware/'>hardware</a>, <a href='http://deadlockprocess.wordpress.com/category/kvm/'>kvm</a>, <a href='http://deadlockprocess.wordpress.com/category/raid/'>raid</a>, <a href='http://deadlockprocess.wordpress.com/category/ssd/'>ssd</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/426/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=426&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/12/06/a-poke-on-ssd-write-endurance-intel-ssd-320-and-iostat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2011/12/img_0582.jpg" medium="image">
			<media:title type="html">IMG_0582</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxxx-2.png" medium="image">
			<media:title type="html">Screenshot-[screen 4: bash] root@xxxx:~-2</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxxx32.png" medium="image">
			<media:title type="html">screenshot-screen-4-bash-rootxxxx3</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-4-bash-rootxxx125.png" medium="image">
			<media:title type="html">Screenshot-[screen 4: bash] root@xxx125:~</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2011/12/screenshot-screen-3-bash-rootxxx1395.png" medium="image">
			<media:title type="html">Screenshot-[screen 3: bash] root@xxx1395:~</media:title>
		</media:content>
	</item>
		<item>
		<title>ganeti notes</title>
		<link>http://deadlockprocess.wordpress.com/2011/11/28/ganeti-notes/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/11/28/ganeti-notes/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 01:35:47 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[ganeti]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[ganeti commands]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=417</guid>
		<description><![CDATA[Listing instances with detailed info $ gnt-instance list -o name,status,oper_ram,oper_vcpus,pnode,snodes,network_port Creating a snapshot using gnt-backup $ gnt-backup export -n NODE --noshutdown NAME $ gnt-backup list -n NODE # backup all non-drbd instances $ for INSTANCE in $(gnt-instance list -oname,disk_template --separator=:&#124; grep plain &#124; cut -f1 -d:); \ do gnt-backup export -n NODE --noshutdown $INSTANCE; done [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=417&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Listing instances with detailed info</strong><br />
<code>$ gnt-instance list -o name,status,oper_ram,oper_vcpus,pnode,snodes,network_port</code></p>
<p><strong>Creating a snapshot using gnt-backup</strong><br />
<code>$ gnt-backup export -n NODE --noshutdown NAME<br />
$ gnt-backup list -n NODE<br />
# backup all non-drbd instances<br />
$ for INSTANCE in $(gnt-instance list -oname,disk_template --separator=:| grep plain | cut -f1 -d:); \<br />
do gnt-backup export -n NODE --noshutdown $INSTANCE; done</code></p>
<p><strong>Adopting a raw file-based KVM instance from a Samba share</strong><br />
<code>$ mkdir -p /mnt/images/ &amp;&amp; mount -t cifs -ouser=guest,password='' //samba.server/images/ /mnt/images/<br />
$ qemu-img info /mnt/images/NAME # to get the SIZE<br />
$ lvcreate -LSIZE vmvg -n NAME.lv<br />
$ time dd if=/mnt/tmp/raw/NAME of=/dev/vmvg/NAME.lv<br />
$ gnt-instance add -t plain -n NODE -o image+default -B memory=2G,vcpus=2 --no-start --disk 0:adopt=NAME.lv NAME<br />
$ gnt-instance modify -t drbd -n NODE NAME</code></p>
<p><strong>Changing disk type from ide to virtio (vice-versa)</strong><br />
<code>$ gnt-instance modify -H disk_type=ide,root_path=/dev/hda1 NAME<br />
$ gnt-instance modify -H disk_type=paravirtual,root_path=/dev/vda1 NAME</code></p>
<p><strong>Changing an instance&#8217;s MAC address</strong><br />
<code>$ gnt-instance modify --net 0:mac=MAC_ADDRESS NAME</code></p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/ganeti/'>ganeti</a>, <a href='http://deadlockprocess.wordpress.com/category/kvm/'>kvm</a>, <a href='http://deadlockprocess.wordpress.com/category/tools/'>tools</a>, <a href='http://deadlockprocess.wordpress.com/category/virtualization/'>virtualization</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/417/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/417/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/417/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=417&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/11/28/ganeti-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>
	</item>
		<item>
		<title>Request Tracker, migrating from RT 3.8.0 to RT 4.0.2</title>
		<link>http://deadlockprocess.wordpress.com/2011/10/20/request-tracker-migrating-from-rt-3-8-0-to-rt-4-0-2/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/10/20/request-tracker-migrating-from-rt-3-8-0-to-rt-4-0-2/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 05:16:40 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[request tracker]]></category>
		<category><![CDATA[3.8.0 to 4.0.2]]></category>
		<category><![CDATA[rt]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=401</guid>
		<description><![CDATA[We&#8217;ve been using Request Tracker for tracking requests, incidents and resolutions for years now. A few days ago, we decided to migrate our RT server to a virtual machine so we can retire the old machine. We decided to upgrade to RT 4.0.2 as well. The upgrade process became complicated because we decided to keep [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=401&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been using <a href="http://bestpractical.com/rt/" target="_blank">Request Tracker</a> for tracking requests, incidents and resolutions for years now. A few days ago, we decided to migrate our RT server to a virtual machine so we can retire the old machine. We decided to upgrade to RT 4.0.2 as well.</p>
<p>The upgrade process became complicated because we decided to keep our old data. We managed to upgrade successfully but not without roadblocks.</p>
<p>These are the 2 major issues that we encountered:</p>
<p>1. RT 4.0.2 won&#8217;t start because of an issue with the Attachments table, wrong type:</p>
<p style="padding-left:30px;">fix: <strong><code>alter table `Attachments` change column `Content` `Content` longblob;</code></strong></p>
<p>2. Once RT 4.0.2 is running, Perl code in Templates are not parsed properly. Our server ended up sending mails like this:</p>
<blockquote><p>Greetings,<br />
This message has been automatically generated in response to your request regarding<br />
{$Ticket-&gt;Subject}</p>
<p>There is no need to reply to this message right now. Your ticket has been assigned an ID of<br />
[<a href="http://rt.wyrls.net/" target="_blank">rt.wyrls.net</a> #{$Ticket-&gt;id()}].</p>
<p>Please include [<a href="http://rt.wyrls.net/" target="_blank">rt.wyrls.net</a> #{$Ticket-&gt;id()}] in the Subject line of all future correspondence about this issue.</p>
<p>Thank you,<br />
{$Ticket-&gt;QueueObj-&gt;CorrespondAddress()}<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
{$Transaction-&gt;Content()}</p></blockquote>
<p>The resolution email was much worse <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Request Tracker was nice enough to give us some hint on how to fix it though. These errors keep on appearing on our apache logs:</p>
<blockquote><p>[Tue Oct 18 14:48:46 2011] [warning]: Use of uninitialized value in string eq at /home/rt/sbin/../lib/RT/Template.pm line 410. (/home/rt/sbin/../lib/RT/Template.pm:410)</p></blockquote>
<p>After reviewing the Template.pm module, we came up with a fix.</p>
<p style="padding-left:30px;">fix: <strong><code>update Templates set Type = 'Perl';</code></strong></p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/perl/'>perl</a>, <a href='http://deadlockprocess.wordpress.com/category/request-tracker/'>request tracker</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/401/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/401/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/401/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=401&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/10/20/request-tracker-migrating-from-rt-3-8-0-to-rt-4-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>
	</item>
		<item>
		<title>Munin plugin &#8211; MegaRAID HDD temperature using MegaCLI</title>
		<link>http://deadlockprocess.wordpress.com/2011/10/11/munin-plugin-megaraid-hdd-temperature-using-megacli/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/10/11/munin-plugin-megaraid-hdd-temperature-using-megacli/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 00:30:11 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[munin]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[lsi]]></category>
		<category><![CDATA[lsi megaraid]]></category>
		<category><![CDATA[megaraid]]></category>
		<category><![CDATA[munin plugin]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=394</guid>
		<description><![CDATA[Munin Exchange approved my plugin recently. I submitted it for approval a few months ago that I already forgot about it. The plugin is written in Bash and it graphs temperatures of HDDs attached to a LSI MegaRaid controller. It uses the serial numbers of the HDDs as labels: Most of our servers, circa 2008+, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=394&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://exchange.munin-monitoring.org/" target="_blank">Munin Exchange</a> approved my <a href="http://exchange.munin-monitoring.org/plugins/megaraid-hdd-temperature-using-megacli/details" target="_blank">plugin</a> recently. I submitted it for approval a few months ago that I already forgot about it. The plugin is written in Bash and it graphs temperatures of HDDs attached to a LSI MegaRaid controller.</p>
<p>It uses the serial numbers of the HDDs as labels:</p>
<p><a href="http://deadlockprocess.files.wordpress.com/2011/10/megacli_hddtemp-day.png"><img class="aligncenter size-full wp-image-396" title="megacli_hddtemp-day" src="http://deadlockprocess.files.wordpress.com/2011/10/megacli_hddtemp-day.png?w=600" alt=""   /></a></p>
<p>Most of our servers, circa 2008+, uses LSI cards especially our Supermicro blades. So if you&#8217;re using LSI cards as well, check it <a href="http://exchange.munin-monitoring.org/plugins/megaraid-hdd-temperature-using-megacli/details" target="_blank">out</a>.</p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/munin/'>munin</a>, <a href='http://deadlockprocess.wordpress.com/category/raid/'>raid</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=394&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/10/11/munin-plugin-megaraid-hdd-temperature-using-megacli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2011/10/megacli_hddtemp-day.png" medium="image">
			<media:title type="html">megacli_hddtemp-day</media:title>
		</media:content>
	</item>
		<item>
		<title>ganeti and KVM Virtualization</title>
		<link>http://deadlockprocess.wordpress.com/2011/10/09/ganeti-and-kvm-virtualization/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/10/09/ganeti-and-kvm-virtualization/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 06:29:08 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[centos/rhel]]></category>
		<category><![CDATA[ganeti]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=384</guid>
		<description><![CDATA[We&#8217;ve been using KVM Virtualization for almost 2 years now and we&#8217;re happy with it. But as the number of hypervisors &#38; VM instances increases, so is the complexity of server management which can be frustrating at times. I realized that we have to find a way to manage it somehow.  I&#8217;ve been scouring the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=384&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been using <a href="http://www.linux-kvm.org/page/Main_Page" target="_blank">KVM Virtualization</a> for almost 2 years now and we&#8217;re happy with it. But as the number of hypervisors &amp; VM instances increases, so is the complexity of server management which can be frustrating at times.</p>
<p>I realized that we have to find a way to manage it somehow.  I&#8217;ve been scouring the net for possible solutions. I&#8217;ve read about OpenStack &amp; Eucalyptus but the disparity of deploying VM instances against our current deployment is big that migrating one will be difficult.</p>
<p>I have 6 requirements for the target platform:</p>
<div>
<ol>
<li>cost</li>
<li>centralized management</li>
<li>learning curve / ease of deployment</li>
<li>migration constraints (lesser, the better)</li>
<li>performance / high availability</li>
<li>community support</li>
</ol>
</div>
<p>My boss forwarded me this <a href="http://www.lancealbertson.com/2010/05/creating-a-scalable-virtualization-cluster-with-ganeti/" target="_blank">blog</a> about <a href="http://code.google.com/p/ganeti/" target="_blank">ganeti</a> a few months ago. I was skeptical to try it at first because deployment was debian-centric. We&#8217;re using CentOS so that could be a problem. But after reading the <a href="http://docs.ganeti.org/ganeti/current/html/" target="_blank">documentation</a> + mailing-lists, I realized that migrating to ganeti will be less painful than other solutions (in theory), so I decided to install a test cluster and ran it for a few weeks.</p>
<p>Testing phase is over and <a href="http://code.google.com/p/ganeti/" target="_blank">ganeti</a> is promising (drbd + live migration rocks!). Our current cluster has 5 nodes but that will surely change as we go into full production <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/centosrhel/'>centos/rhel</a>, <a href='http://deadlockprocess.wordpress.com/category/ganeti/'>ganeti</a>, <a href='http://deadlockprocess.wordpress.com/category/kvm/'>kvm</a>, <a href='http://deadlockprocess.wordpress.com/category/linux/'>linux</a>, <a href='http://deadlockprocess.wordpress.com/category/virtualization/'>virtualization</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/384/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/384/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/384/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=384&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/10/09/ganeti-and-kvm-virtualization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>
	</item>
		<item>
		<title>applications and browser add-ons/extensions that I really find useful</title>
		<link>http://deadlockprocess.wordpress.com/2011/01/08/applications-and-browser-add-ons-extensions-that-i-really-find-useful/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/01/08/applications-and-browser-add-ons-extensions-that-i-really-find-useful/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 09:24:16 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=320</guid>
		<description><![CDATA[Here&#8217;s my list: 1. vi / vim / gvim This is my editor of choice. Knowing the keyboard shortcuts is a must. The learning curve is a bit steep but it&#8217;s all worth it. This is the my current vim settings, ~/.vimrc : set nu set nowrap set tabstop=4 set shiftwidth=4 set expandtab set wmw=0 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=320&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my list:</p>
<p>1. <strong>vi / vim / gvim</strong><br />
This is my editor of choice. Knowing the keyboard shortcuts is a must. The learning curve is a bit steep but it&#8217;s all worth it.</p>
<p>This is the my current vim settings, <code>~/.vimrc</code> :</p>
<pre>set nu
set nowrap
set tabstop=4
set shiftwidth=4
set expandtab
set wmw=0
set guioptions=mic
set autoindent
set statusline=%F%m%r%h%w\ [FORMAT=%{&amp;ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
set laststatus=2
set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
set backupdir=~/.vimbackup,/tmp
syntax enable
colorscheme desert

" open tabbed left/right
nmap &lt;C-h&gt; :tabprev&lt;CR&gt;
nmap &lt;C-l&gt; :tabnext&lt;CR&gt;

" move the current line up/down
nmap &lt;C-j&gt;  :m+&lt;CR&gt;==
nmap &lt;C-k&gt; :m-2&lt;CR&gt;==

" move the selected block up/down
vmap &lt;C-j&gt;  :m'&gt;+&lt;CR&gt;gv=gv
vmap &lt;C-k&gt; :m'&lt;-2&lt;CR&gt;gv=gv
</pre>
<p>2. <strong>gnome-terminal</strong><br />
A  good terminal is a good friend if you&#8217;re a Linux admin/developer. Yeah,  I know some server settings can be configured with GUI tools,  especially if you&#8217;re using a RHEL-based distribution,  but if most (if  not all) of your Linux servers are headless and you&#8217;re in a cramped  space and you have to access it remotely, your terminal is still your  best friend.</p>
<p style="text-align:center;"><a href="http://deadlockprocess.files.wordpress.com/2010/12/gnome-terminal.jpg"><img class="size-medium wp-image-324 aligncenter" title="gnome-terminal" src="http://deadlockprocess.files.wordpress.com/2010/12/gnome-terminal.jpg?w=450&#038;h=295" alt="" width="450" height="295" /></a><em>I&#8217;m using these keyboard shortcuts patterned from vim <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>3. <strong>rapidsvn</strong><br />
This is my preferred GUI svn client. It&#8217;s simple and it works, and that&#8217;s all I need.</p>
<p>4. <strong>meld</strong><br />
This a diff viewer for GNOME. It can browse SVN working copies as well.</p>
<p>5. <strong>tomboy notes</strong><br />
This one is a life saver. It&#8217;s built for saving small tidbits of information and I don&#8217;t have to worry if I press save (it doesn&#8217;t have one). I find the features search and synchronization to Ubuntu One very useful. I seldom use the &#8220;note linking&#8221; feature though.</p>
<p>6. <strong>gnome-dictionary</strong> (with offline enabled)<br />
Having a handy-dandy dictionary while you&#8217;re reading some articles is always a good thing. You&#8217;ll never know when you&#8217;ll encounter those pesky new words. By default, gnome-dictionary needs an internet connection but you can an install an offline dictionary as well. Here&#8217;s a <a href="http://choorucode.wordpress.com/2010/04/10/ubuntu-offline-gnome-dictionary/">good guide</a> that I followed to make it offline.</p>
<p>7. <strong>pidgin</strong><br />
This was the default IM client of Ubuntu before it was replaced by Empathy. One good reason why I can&#8217;t let go of Pidgin is because of its <a href="http://www.cypherpunks.ca/otr/">Off-the-Record</a> plugin (pidgin-otr), basically, encryption support. The last time I checked, Empathy is not interested in OTR, so I&#8217;m not interested in switching in the foreseeable future either.</p>
<p>8. <strong>browsers &amp; add-ons/extensions</strong><br />
I interchangeably use Firefox and Chrome. I was planning to switch to Chrome completely but it <a href="http://deadlockprocess.wordpress.com/2010/11/07/gmail-with-offline-enabled-with-firefox-3-6-12-in-ubuntu-10-04/">doesn&#8217;t support the Offline feature of Gmail</a>.</p>
<p>These are the add-ons or extensions that I use&#8230;</p>
<p>Firefox:<br />
- <a href="https://addons.mozilla.org/en-US/firefox/addon/201/">downthemall!</a>, <em>this is a nice download manager</em><br />
- <a href="https://addons.mozilla.org/en-US/firefox/addon/2888/">gmarks</a>, <em>this is how I keep my bookmarks in-sync with Chrome, its keyboard shortcuts are a gem: ctrl-d to add, tap Home twice to search</em><br />
- <a href="https://addons.mozilla.org/en-US/firefox/addon/433/">flashblock</a>, <em>nice tool to block annoying, huge flash applications/ads</em></p>
<p>Google Chrome:<br />
- <a href="https://chrome.google.com/extensions/detail/encaiiljifbdbjlphpgpiimidegddhic">chrome bird</a>, <em>nice twitter client with built-in support for URL shorteners</em><br />
- <a href="https://chrome.google.com/extensions/detail/fhaicgmeeafgboeobjagfmlcdhbkijhf">google bookmarks</a>, <em>extension to access my Google bookmarks. But unlike its Firefox counterpart it doesn&#8217;t have keyboard shortcuts&#8230;  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </em><br />
- <a href="https://chrome.google.com/extensions/detail/gofhjkjmkpinhpoiabjplobcaignabnl">flashblock</a>, <em>same as the firefox add-on</em></p>
<p>9. <strong>Ubuntu One</strong><br />
Sync files. That&#8217;s it. I sync my documents to Ubuntu One so I don&#8217;t have to bring my <em>work</em> laptop every time I travel. All I need to do is set-up June&#8217;s netbook to access my Ubuntu One account and I&#8217;m ready to access my documents in case I need to.</p>
<p>By the way, this only works in Ubuntu and the first 2Gb free <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>10. <strong>Wammu</strong><br />
This application is very helpful if you need to send/receive SMS in your Ubuntu machine. See my previous <a href="http://deadlockprocess.wordpress.com/2010/12/05/send-receive-sms-messages-using-wammu-and-a-huawei-e160-dongle-in-ubuntu-10-04/">post</a> for more details.</p>
<p>11. <strong>gnucash</strong><br />
This is an accounting software. It&#8217;s a big help if you need to keep track of your finances (I think we all need to). Learning curve can be steep if you don&#8217;t have a background in simple accounting (debit/credit). The gnucash&#8217;s built-in help can assist if you find it difficult.</p>
<p>12. <strong>frogr</strong><br />
If you have a <a href="http://www.flickr.com/">flickr</a> account and you need to upload hundreds of photos, this is a good tool you can use in Linux. I&#8217;ve tried other tools but I&#8217;ve settled with this one because it can handle intermittent connections better. It&#8217;s not in the Ubuntu repository yet but you can download frogr <a href="http://code.google.com/p/frogr/">here</a>.</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/firefox/'>firefox</a>, <a href='http://deadlockprocess.wordpress.com/category/linux/'>linux</a>, <a href='http://deadlockprocess.wordpress.com/category/tools/'>tools</a>, <a href='http://deadlockprocess.wordpress.com/category/ubuntu/'>ubuntu</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=320&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/01/08/applications-and-browser-add-ons-extensions-that-i-really-find-useful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/12/gnome-terminal.jpg?w=300" medium="image">
			<media:title type="html">gnome-terminal</media:title>
		</media:content>
	</item>
		<item>
		<title>2010 in review</title>
		<link>http://deadlockprocess.wordpress.com/2011/01/02/2010-in-review/</link>
		<comments>http://deadlockprocess.wordpress.com/2011/01/02/2010-in-review/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 12:27:41 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=359</guid>
		<description><![CDATA[WordPress sent me this info and I&#8217;m sharing it with everyone &#8212; The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads Fresher than ever. Crunchy numbers A Boeing 747-400 passenger jet can hold 416 passengers. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=359&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WordPress sent me this info and I&#8217;m sharing it with everyone <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8212;</p>
<p>The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here&#8217;s a high level summary of its overall blog health:</p>
<p><img style="border:1px solid #ddd;background:#f5f5f5;padding:20px;" src="http://s0.wp.com/i/annual-recap/meter-healthy3.gif" alt="Healthy blog!" width="250" height="183" /></p>
<p>The <em>Blog-Health-o-Meter™</em> reads Fresher than ever.</p>
<h2>Crunchy numbers</h2>
<p><a href="http://deadlockprocess.files.wordpress.com/2010/11/screenshot-wammu.png"><img style="max-height:230px;float:right;border:1px solid #ddd;background:#fff;margin:0 0 1em 1em;padding:6px;" src="http://deadlockprocess.files.wordpress.com/2010/11/screenshot-wammu.png?w=288" alt="Featured image" /></a></p>
<p>A Boeing 747-400 passenger jet can hold 416 passengers.  This blog was viewed about <strong>9,400</strong> times in 2010.  That&#8217;s about 23 full 747s.</p>
<p>In 2010, there were <strong>10</strong> new posts, growing the total archive of this blog to 42 posts. There were <strong>20</strong> pictures uploaded, taking up a total of 7mb. That&#8217;s about 2 pictures per month.</p>
<p>The busiest day of the year was November 20th with <strong>60</strong> views. The most popular post that day was <a style="color:#08c;" href="http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/">Globe Tattoo&#8217;s SUPERSURF download cap dropped from 1Gb to 800Mb</a>.</p>
<h2>Where did they come from?</h2>
<p>The top referring sites in 2010 were <strong>facebook.com</strong>, <strong>google.com</strong>, <strong>google.co.in</strong>, <strong>boards.openpandora.org</strong>, and <strong>linux.ittoolbox.com</strong>.</p>
<p>Some visitors came searching, mostly for <strong>mysql 32 bit vs 64 bit</strong>, <strong>mysql 64 bit vs 32 bit</strong>, <strong>ubuntu 9.10 bluetooth internet</strong>, <strong>mysql 32bit vs 64bit</strong>, and <strong>bluetooth ubuntu karmic</strong>.</p>
<h2>Attractions in 2010</h2>
<p>These are the posts and pages that got the most views in 2010.</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">1</div>
<p><a style="margin-right:10px;" href="http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/">Globe Tattoo&#8217;s SUPERSURF download cap dropped from 1Gb to 800Mb</a> <span style="color:#999;font-size:8pt;">November 2010</span><br />
8 comments</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">2</div>
<p><a style="margin-right:10px;" href="http://deadlockprocess.wordpress.com/2009/12/11/how-to-enable-bluetooth-internet-using-ubuntu-karmic-9-10-sony-ericsson-k770i/">How-To: Enable bluetooth internet using Ubuntu Karmic 9.10 + Sony Ericsson K770i</a> <span style="color:#999;font-size:8pt;">December 2009</span><br />
12 comments</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">3</div>
<p><a style="margin-right:10px;" href="http://deadlockprocess.wordpress.com/2009/04/03/mysql-32-bit-vs-64-bit-os/">MySQL: 32-bit vs 64-bit OS</a> <span style="color:#999;font-size:8pt;">April 2009</span></p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">4</div>
<p><a style="margin-right:10px;" href="http://deadlockprocess.wordpress.com/2009/11/06/how-to-sync-folders-local-to-remote-and-vice-versa-using-ubuntu-9-10-samba-conduit/">How-To: Sync folders, local to remote (and vice versa), using Ubuntu 9.10 + Samba + Conduit</a> <span style="color:#999;font-size:8pt;">November 2009</span><br />
7 comments</p>
<div style="clear:left;float:left;font-size:24pt;line-height:1em;margin:-5px 10px 20px 0;">5</div>
<p><a style="margin-right:10px;" href="http://deadlockprocess.wordpress.com/2009/12/08/how-to-install-printer-driver-for-brother-dcp-150c-in-ubuntu-9-10/">How-To: Install printer driver for Brother DCP-150c in Ubuntu 9.10</a> <span style="color:#999;font-size:8pt;">December 2009</span><br />
6 comments</p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/wordpress/'>wordpress</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=359&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2011/01/02/2010-in-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/i/annual-recap/meter-healthy3.gif" medium="image">
			<media:title type="html">Healthy blog!</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/11/screenshot-wammu.png?w=288" medium="image">
			<media:title type="html">Featured image</media:title>
		</media:content>
	</item>
		<item>
		<title>Send / Receive SMS messages using Wammu and a Huawei e160 dongle in Ubuntu 10.04</title>
		<link>http://deadlockprocess.wordpress.com/2010/12/05/send-receive-sms-messages-using-wammu-and-a-huawei-e160-dongle-in-ubuntu-10-04/</link>
		<comments>http://deadlockprocess.wordpress.com/2010/12/05/send-receive-sms-messages-using-wammu-and-a-huawei-e160-dongle-in-ubuntu-10-04/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 12:25:35 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mobile broadband]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[gammu]]></category>
		<category><![CDATA[globe tattoo]]></category>
		<category><![CDATA[huawei]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=283</guid>
		<description><![CDATA[The same case as most hardware vendors, Huawei&#8217;s support for Linux is disappointing. It doesn&#8217;t have an out-of-the-box application that you can use right away for Linux if you want to send/receive SMS through your dongle. For Windows? yes. For Mac? yes. Linux? just a plain simple NO. I&#8217;m having these frustrations because I&#8217;ve been [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=283&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The same case as most hardware vendors, Huawei&#8217;s support for Linux  is disappointing. It doesn&#8217;t have an out-of-the-box application that  you can use right away for Linux if you want to send/receive SMS  through your dongle. For Windows? yes. For Mac? yes. Linux? just a plain simple NO.</p>
<p>I&#8217;m having these frustrations because I&#8217;ve been using a prepaid Globe  Tattoo for the past few weeks. I use Ubuntu as my main OS and I only  switch to Windows if (and only IF) there&#8217;s a task that I can&#8217;t  accomplish on Ubuntu.</p>
<p>If you&#8217;re familiar with Globe Tattoo&#8217;s SUPERSURF service, then you know  that you can only subscribe to it by sending an SMS message (e.g.  SUPERSURF50 to 8888).  Switching to Windows just to activate SUPERSURF then switching back to Ubuntu to really connect to the internet became an annoyance after doing it for a few times. Besides, <a href="http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/" target="_blank">Globe Tattoo has currently a bandwidth cap</a> and you&#8217;ll only be notified that you&#8217;ve reached it through an SMS!</p>
<p>There has to be a better way and most of the time, the Linux community provides it. After a little Google search, I saw this <a href="http://www.ubuntugeek.com/wammu-mobile-phone-manager.html" target="_blank">site</a> and it lead me to <a href="http://wammu.eu/" target="_blank">Wammu</a>.</p>
<p>Now, Wammu isn&#8217;t perfect. If you&#8217;re expecting an application that will notify you right away if your dongle received an SMS, Wammu&#8217;s not it. But, it can send and receive SMS, you just have to be patient with it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To install it, just run this in your terminal:</p>
<p><code><span style="color:#339966;font-family:monospace;">$ sudo apt-get install wammu</span></code></p>
<p>Or, search for Wammu in Ubuntu Software Center (<strong>Applications -&gt; Ubuntu Software Center</strong>)</p>
<p>Once you&#8217;ve done installing it, plug in your dongle and run Wammu. You can find it in: <strong>Applications -&gt; Accessories -&gt; Wammu</strong></p>
<p style="text-align:center;"><a href="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-wammu.png"><img class="size-medium wp-image-295 aligncenter" title="Screenshot-Wammu" src="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-wammu.png?w=460&#038;h=258" alt="" width="460" height="258" /></a><em>main application window</em></p>
<p>To let Wammu detect your dongle, run the phone wizard and just follow the on-screen instructions, click on: <strong>Wammu -&gt; Phone Wizard</strong></p>
<p style="text-align:center;"><a href="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-settings.png"><img class="size-medium wp-image-297 aligncenter" title="Screenshot-Settings" src="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-settings.png?w=331&#038;h=246" alt="" width="331" height="246" /></a><em>my setting for my Huawei e160 dongle </em><em>after running the phone wizard </em></p>
<p>To connect to your dongle, click on: <strong>Phone -&gt; Connect</strong></p>
<p style="text-align:center;"><a href="http://deadlockprocess.files.wordpress.com/2010/12/screenshot.png"><img class="size-medium wp-image-298 aligncenter" title="Screenshot" src="http://deadlockprocess.files.wordpress.com/2010/12/screenshot.png?w=450&#038;h=276" alt="" width="450" height="276" /></a><em>waiting screen</em></p>
<p>Once you&#8217;re connected, you can retrieve the SMS messages in your dongle by clicking: <strong>Retrieve -&gt; Messages</strong></p>
<p style="text-align:center;"><a href="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-wammu-11.png"><img class="size-medium wp-image-299 aligncenter" title="Screenshot-Wammu-1" src="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-wammu-11.png?w=530&#038;h=340" alt="" width="530" height="340" /></a><em>my messages a few days back</em><em>, don&#8217;t be surprised by the date in the bottom <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em><strong><br />
</strong></p>
<p>Note: As far as I know, Wammu won&#8217;t retrieve new messages automatically. In my case, I have to check for messages manually, the shortcut <strong>Alt + R, M</strong> comes in handy.</p>
<p>To send an SMS, click on: <strong>Create -&gt; Message </strong>or <strong>Ctrl + M</strong></p>
<p style="text-align:center;"><a href="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-composing-sms.png"><img class="size-medium wp-image-303 aligncenter" title="Screenshot-Composing SMS" src="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-composing-sms.png?w=300&#038;h=254" alt="" width="300" height="254" /></a><em>make sure you&#8217;ve checked the &#8220;Send message&#8221; checkbox before clicking OK</em></p>
<p style="text-align:left;">And this is how I send / receive SMS in Ubuntu using Wammu. It&#8217;s not perfect, but it works <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <em><br />
</em></p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/how-to/'>how to</a>, <a href='http://deadlockprocess.wordpress.com/category/internet/'>internet</a>, <a href='http://deadlockprocess.wordpress.com/category/mobile-broadband/'>mobile broadband</a>, <a href='http://deadlockprocess.wordpress.com/category/ubuntu/'>ubuntu</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=283&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2010/12/05/send-receive-sms-messages-using-wammu-and-a-huawei-e160-dongle-in-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-wammu.png?w=300" medium="image">
			<media:title type="html">Screenshot-Wammu</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-settings.png?w=300" medium="image">
			<media:title type="html">Screenshot-Settings</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/12/screenshot.png?w=300" medium="image">
			<media:title type="html">Screenshot</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-wammu-11.png?w=300" medium="image">
			<media:title type="html">Screenshot-Wammu-1</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/12/screenshot-composing-sms.png?w=300" medium="image">
			<media:title type="html">Screenshot-Composing SMS</media:title>
		</media:content>
	</item>
		<item>
		<title>How to calculate the total bytes you&#8217;ve downloaded if you&#8217;re using a Huawei dongle in Ubuntu</title>
		<link>http://deadlockprocess.wordpress.com/2010/11/20/how-to-calculate-the-total-bytes-youve-downloaded-if-youre-using-a-huawei-dongle-in-ubuntu/</link>
		<comments>http://deadlockprocess.wordpress.com/2010/11/20/how-to-calculate-the-total-bytes-youve-downloaded-if-youre-using-a-huawei-dongle-in-ubuntu/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 18:00:20 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mobile broadband]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[bandwidth cap]]></category>
		<category><![CDATA[globe tattoo]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/?p=267</guid>
		<description><![CDATA[Since I&#8217;m using Globe Tattoo right now and its SUPERSURF service has a daily cap of 800Mb, I have to have a way to check my usage. And I wrote this one liner to do just that: $ pcregrep "$(date +%b)\s+$(date +%d).+pppd.+received" /var/log/messages &#124; perl -e 'use strict; my $t=0; while(&#60;&#62;) { if(m/received (\d+)\s+/) { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=267&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m using Globe Tattoo right now and its <a href="http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/">SUPERSURF service has a daily cap of 800Mb</a>, I have to have a way to check my usage.</p>
<p>And I wrote this one liner to do just that:<br />
<code>$ <span style="color:#339966;">pcregrep "$(date +%b)\s+$(date +%d).+pppd.+received" /var/log/messages | perl -e 'use strict; my $t=0; while(&lt;&gt;) { if(m/received (\d+)\s+/) { $t=$t+$1; } } print "$t\n";'</span></code></p>
<p>If <code>pcregrep</code> is not installed in your system, you can install it by running : <span style="font-family:monospace;color:#339966;">sudo apt-get install -y pcregrep</span></p>
<p>The downside of this approach is I have to disconnect first to get an accurate reading. If you have a better idea, please let me know <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/bash/'>bash</a>, <a href='http://deadlockprocess.wordpress.com/category/how-to/'>how to</a>, <a href='http://deadlockprocess.wordpress.com/category/internet/'>internet</a>, <a href='http://deadlockprocess.wordpress.com/category/mobile-broadband/'>mobile broadband</a>, <a href='http://deadlockprocess.wordpress.com/category/ubuntu/'>ubuntu</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=267&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2010/11/20/how-to-calculate-the-total-bytes-youve-downloaded-if-youre-using-a-huawei-dongle-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>
	</item>
		<item>
		<title>Globe Tattoo&#8217;s SUPERSURF download cap dropped from 1Gb to 800Mb</title>
		<link>http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/</link>
		<comments>http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:35:33 +0000</pubDate>
		<dc:creator>tar</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[mobile broadband]]></category>
		<category><![CDATA[bandwidth cap]]></category>
		<category><![CDATA[globe tattoo]]></category>

		<guid isPermaLink="false">http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-superunli-download-cap-dropped-from-1gb-to-800mb/</guid>
		<description><![CDATA[I learned only a few weeks ago that Globe Tattoo&#8217;s SUPERSURF service has a daily cap of 1Gb. I&#8217;m not really complaining, the speed is now bearable and sometimes fast, but I&#8217;m just disgusted in the way it&#8217;s advertised. They should change the &#8220;unlimited&#8221; to &#8220;super 1GB&#8221; or something. Anyway, I subscribed to Globe Tattoo&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=264&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I learned only a few weeks ago that Globe Tattoo&#8217;s SUPERSURF service has a daily cap of 1Gb. I&#8217;m not really complaining, the speed is now bearable and sometimes fast, but I&#8217;m just disgusted in the way it&#8217;s advertised. They should change the &#8220;unlimited&#8221; to &#8220;super 1GB&#8221; or something.</p>
<p>Anyway, I subscribed to Globe Tattoo&#8217;s SUPERSURF service yesterday and my connection just stopped working. I&#8217;m connected and I know that my usage hasn&#8217;t reached 1Gb yet (I wrote a one liner script to total the bytes I downloaded, I use Ubuntu). To confirm it, I rebooted to Windows and checked my dongle if it received any text messages.</p>
<p>I got this text message:</p>
<p><img style="max-width:800px;" src="http://deadlockprocess.files.wordpress.com/2010/11/800mb.png?w=600" alt="" /></p>
<p>It seems the 1Gb cap is not small enough&#8230;</p>
<p>By the way, if someone has an idea on how to read text messages from a Huawei dongle in Ubuntu, I&#8217;ll be thankful for any tips <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>UPDATE &#8211; 12/14/2010:</strong><br />
It seems Globe has finally changed the confirmation message for SUPERSURF (well, for SUPERSURF50 at least). No mention of &#8220;unlimited&#8221; anymore, it was changed to &#8220;for moderate use only&#8221;. I think this is a good start for a more &#8220;transparent&#8221; service <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://deadlockprocess.files.wordpress.com/2010/11/screenshot-wammu.png"><img class="alignnone size-medium wp-image-351" title="Screenshot-Wammu" src="http://deadlockprocess.files.wordpress.com/2010/11/screenshot-wammu.png?w=600&#038;h=306" alt="" width="600" height="306" /></a></p>
<p>By the way, I finally figured it out. I can now send/receive SMS in Ubuntu, see <a href="http://deadlockprocess.wordpress.com/2010/12/05/send-receive-sms-messages-using-wammu-and-a-huawei-e160-dongle-in-ubuntu-10-04/">my post</a> about it if you want to know more.</p>
<br />Filed under: <a href='http://deadlockprocess.wordpress.com/category/internet/'>internet</a>, <a href='http://deadlockprocess.wordpress.com/category/mobile-broadband/'>mobile broadband</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deadlockprocess.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deadlockprocess.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deadlockprocess.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deadlockprocess.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deadlockprocess.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deadlockprocess.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deadlockprocess.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deadlockprocess.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deadlockprocess.wordpress.com&amp;blog=4686112&amp;post=264&amp;subd=deadlockprocess&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deadlockprocess.wordpress.com/2010/11/20/globe-tattoos-supersur-download-cap-dropped-from-1gb-to-800mb/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/641e87b5a5d691b84f4458a6af3dd0dd?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">proletaryo</media:title>
		</media:content>

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/11/800mb.png" medium="image" />

		<media:content url="http://deadlockprocess.files.wordpress.com/2010/11/screenshot-wammu.png?w=300" medium="image">
			<media:title type="html">Screenshot-Wammu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
