<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to add swap space in Linux</title>
	<atom:link href="http://www.rickyzhu.com/718_how-to-add-swap-space-in-linux.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rickyzhu.com/718_how-to-add-swap-space-in-linux.html</link>
	<description>质量，数据库和我的生活</description>
	<lastBuildDate>Thu, 11 Mar 2010 10:32:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ricky</title>
		<link>http://www.rickyzhu.com/718_how-to-add-swap-space-in-linux.html/comment-page-1#comment-4794</link>
		<dc:creator>ricky</dc:creator>
		<pubDate>Fri, 16 Oct 2009 03:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rickyzhu.com/?p=718#comment-4794</guid>
		<description>在Solaris上，用下面的方法：

This is straight out of the man pages, but I had a hard time finding it the first time that I needed it. If you have a Solaris system that badly needs more swap but you don&#039;t have a free swap device available, you can create a file in the file system and add it as additional swap.

   1.

      Use mkfile to create a file suitable for a local swap area. For example, to create a 1GB swap file:

          /usr/sbin/mkfile 1024m /swap

      where /swap is the name of the file to be used as swap space. Units for the size can be kilobytes (k), blocks (b), or megabytes (m).
   2.

      Tell the system to start using the file as swap:

          /usr/sbin/swap -a /swap

      Use swap -l to verify that the swap file has been activated.</description>
		<content:encoded><![CDATA[<p>在Solaris上，用下面的方法：</p>
<p>This is straight out of the man pages, but I had a hard time finding it the first time that I needed it. If you have a Solaris system that badly needs more swap but you don&#8217;t have a free swap device available, you can create a file in the file system and add it as additional swap.</p>
<p>   1.</p>
<p>      Use mkfile to create a file suitable for a local swap area. For example, to create a 1GB swap file:</p>
<p>          /usr/sbin/mkfile 1024m /swap</p>
<p>      where /swap is the name of the file to be used as swap space. Units for the size can be kilobytes (k), blocks (b), or megabytes (m).<br />
   2.</p>
<p>      Tell the system to start using the file as swap:</p>
<p>          /usr/sbin/swap -a /swap</p>
<p>      Use swap -l to verify that the swap file has been activated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
