<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mikerochford.com &#187; Linux</title>
	<atom:link href="http://mikerochford.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikerochford.com/blog</link>
	<description>Being technical</description>
	<lastBuildDate>Thu, 16 Jun 2011 19:02:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Verifying your Linux Distro is 64bit.</title>
		<link>http://mikerochford.com/blog/2011/01/20/verifying-your-linux-distro-is-64bit/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2011/01/20/verifying-your-linux-distro-is-64bit/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 13:32:08 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[One Liner]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=117</guid>
		<description><![CDATA[I ran into a situation that I had to verify that I was running a 64bit os. Below is a quick command line check. It checks based on the current kernel loaded. mrochford@host1:~$ fgrep CONFIG_64BIT /boot/config-`uname -r` CONFIG_64BIT=y mrochford@host1:~$]]></description>
			<content:encoded><![CDATA[<p>I ran into a situation that I had to verify that I was running a 64bit os. Below is a quick command line check. It checks based on the current kernel loaded. </p>
<p><code><br />
mrochford@host1:~$ fgrep CONFIG_64BIT /boot/config-`uname -r`<br />
CONFIG_64BIT=y<br />
mrochford@host1:~$<br />
</code></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=117&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2011/01/20/verifying-your-linux-distro-is-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run a command randomly</title>
		<link>http://mikerochford.com/blog/2010/09/22/run-a-command-randomly/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2010/09/22/run-a-command-randomly/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 18:58:11 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[One Liner]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=110</guid>
		<description><![CDATA[I wanted to run a command randomly everyday. Here is a one liner cron that I created. echo "" &#124; at now + `awk -vu=30 'BEGIN { srand(); printf( "%0.0f\n", rand() * u ); }'` minutes]]></description>
			<content:encoded><![CDATA[<p>I wanted to run a command randomly everyday. Here is a one liner cron that I created. </p>
<p><code><br />
echo "<what you want to run randomly>" | at now + `awk -vu=30 'BEGIN { srand(); printf( "%0.0f\n", rand() * u ); }'` minutes<br />
</code></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=110&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2010/09/22/run-a-command-randomly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Naigos Plugin: Check for packages to update in Debian/Ubuntu</title>
		<link>http://mikerochford.com/blog/2009/11/05/naigos-plugin-check-for-packages-to-update-in-debianubuntu/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2009/11/05/naigos-plugin-check-for-packages-to-update-in-debianubuntu/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:13:47 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=97</guid>
		<description><![CDATA[Over the years I have manages a lot of systems, mostly debian based. The thing I really hate about having a lot of standalone systems is updating software. I am really bad at keeping track of new updates and I really dont want to have a cron script running to send me a email every [...]]]></description>
			<content:encoded><![CDATA[<p>Over the years I have manages a lot of systems, mostly debian based. The thing I really hate about having a lot of standalone systems is updating software. I am really bad at keeping track of new updates and I really dont want to have a cron script running to send me a email every day. Below is a script I used as a plugin for nagios. </p>
<p>The Script: <a href="http://mikerochford.com/code/perl/check_for_updates.pl">check_for_updates.pl</a></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=97&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2009/11/05/naigos-plugin-check-for-packages-to-update-in-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the I/O timeout on your SCSI disk</title>
		<link>http://mikerochford.com/blog/2009/07/23/changing-the-io-timeout-on-your-scsi-disk/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2009/07/23/changing-the-io-timeout-on-your-scsi-disk/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 23:52:15 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=77</guid>
		<description><![CDATA[Changing your I/O timeout for your SCSI disks are rare. When you are running VMWare that houses the guest OS on a NFS/SAN mount you need to change the timeout. If you dont you will run into a mess with your guest OS. You will try running a snapshot and browsing your file system and [...]]]></description>
			<content:encoded><![CDATA[<p>Changing your I/O timeout for your SCSI disks are rare. When you are running  VMWare that houses the guest OS on a NFS/SAN mount you need to change the timeout. If you dont you will run into a mess with your guest OS. You will try running a snapshot and browsing your file system and bam its locks up. Below is what you need to change in your udev rules to change it. </p>
<p>Location: /etc/udev/rules.d/50-udev-default.rules</p>
<p><code txt><br />
SUBSYSTEM=="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys/block/sda/device/timeout'"<br />
SUBSYSTEM=="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 190 > /sys/block/sda/device/timeout'"<br />
SUBSYSTEM=="scsi" , SYSFS{type}=="1", RUN+="/bin/sh -c 'echo 900 > /sys/block/sda/device/timeout'"<br />
</code></p>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=77&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2009/07/23/changing-the-io-timeout-on-your-scsi-disk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making your own ringtones for your Iphone (mp3 to m4r)</title>
		<link>http://mikerochford.com/blog/2009/05/26/making-your-own-ringtones-for-your-iphone-mp3-to-m4r/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://mikerochford.com/blog/2009/05/26/making-your-own-ringtones-for-your-iphone-mp3-to-m4r/#comments</comments>
		<pubDate>Tue, 26 May 2009 14:46:37 +0000</pubDate>
		<dc:creator>mrochford</dc:creator>
				<category><![CDATA[IPhone]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://mikerochford.com/blog/?p=7</guid>
		<description><![CDATA[I have done much searching on the internet on how to convert mp3 files to Itunes m4r files. I really dont like using Itunes if I dont have to so I thought I would write something that will use my unix box. This perl script will convert most mp3s to m4r. I used 4 applications [...]]]></description>
			<content:encoded><![CDATA[<p>I have done much searching on the internet on how to convert mp3 files to Itunes m4r files. I really dont like using Itunes if I dont have to so I thought I would write something that will use my unix box.</p>
<p><a href="/code/perl/mp3_to_m4r.pl#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">This</a> perl script will convert most mp3s to m4r.</p>
<p>I used 4 applications that can be installed on any GNU based system.</p>
<ul>
<li><a href="http://www.ibiblio.org/mp3info/">mp3info</a> - An MP3 technical info viewer and ID3 1.x tag editor</li>
<li><a href="http://mp3splt.sourceforge.net/mp3splt_page/home.php">mp3splt</a> - Mp3Splt-project is a utility to split mp3 and ogg files selecting a begin and an end time position, without decoding.</li>
<li><a href="http://www.mplayerhq.hu/">Mplayer</a></li>
<li><a href="http://www.audiocoding.com/faac.html">Faac</a> - FAAC is an open source MPEG-4 and MPEG-2 AAC encoder, it is licensed under the LGPL license.</li>
</ul>
<p>or if you are running debian/ubuntu:</p>
<div class="dean_ch" style="white-space: wrap;">apt-get install mp3info mp3splt mplayer faac</div>
<img src="http://mikerochford.com/blog/?ak_action=api_record_view&id=7&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://mikerochford.com/blog/2009/05/26/making-your-own-ringtones-for-your-iphone-mp3-to-m4r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

