<?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>My Workday &#187; swap</title>
	<atom:link href="http://www.goworkday.com/tag/swap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goworkday.com</link>
	<description>Let&#039;s talk TECH</description>
	<lastBuildDate>Thu, 02 Feb 2012 18:52:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Procedure to add a swap file</title>
		<link>http://www.goworkday.com/2009/02/03/procedure-to-add-a-swap-file/</link>
		<comments>http://www.goworkday.com/2009/02/03/procedure-to-add-a-swap-file/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 22:34:56 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[swap]]></category>

		<guid isPermaLink="false">http://www.goworkday.com/?p=75</guid>
		<description><![CDATA[<br/>Procedure to add a swap file You need to use dd command to create swapfile. Next you need to use mkswap command to set up a Linux swap area on a device or in a file. a) Login as the root user b) Type following command to create 512MB swap file (1024 * 512MB = [...]]]></description>
			<content:encoded><![CDATA[<br/><h3>Procedure to add a swap file</h3>
<p>You need to use dd command to create swapfile. Next you need to use mkswap command to set up a Linux swap area on a device or in a file.</p>
<p>a) Login as the root user</p>
<p>b) Type following command to create 512MB swap file (1024 * 512MB =  524288 block size):</p>
<p><code># dd if=/dev/zero of=/swapfile1 bs=1024 count=524288</code></p>
<p>c) Set up a Linux swap area:</p>
<p><code># mkswap /swapfile1</code></p>
<p>d) Activate /swapfile1 swap space immediately:</p>
<p><code># swapon /swapfile1</code></p>
<p>e) To activate /swapfile1 after Linux system reboot, add entry to /etc/fstab file. Open this file using text editor such as vi:</p>
<p><code># vi /etc/fstab</code></p>
<p>Append following line:</p>
<p><code>/swapfile1    swap    swap   defaults 0 0</code></p>
<p>So next time Linux comes up after reboot, it enables the new swap file for you automatically.</p>
<p>g) How do I verify swap is activated or not?</p>
<p>Simply use free command:</p>
<p><code>$ free -m</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.goworkday.com/2009/02/03/procedure-to-add-a-swap-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

