Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Linux Tips :Increase Swap Space

This is a discussion on Linux Tips :Increase Swap Space within the Unix/Linux forums, part of the Operating Systems category; Hi guys, Using a swapfile to increase the swap space on your system 1. Using dd lets make a zero’d file for the swap dd if=/dev/zero of=/swapfile bs=1048576 count=1000 2. ...

Go Back   Geeks Talk > Operating Systems > Unix/Linux
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 08-25-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 1,195
Thanks: 155
Thanked 469 Times in 228 Posts
rijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of light
Linux Tips :Increase Swap Space

Hi guys,

Using a swapfile to increase the swap space on your system

1. Using dd lets make a zero’d file for the swap

dd if=/dev/zero of=/swapfile bs=1048576 count=1000

2. Make file as a swapfile

mkswp /swapfile


3.
Activate swapfile

swapon /swapfile

4.
Verify that our swapfile has been activated

swapon -s


If you want to have this a permanent solution, then adding the entry to fstab would probally be a better idea,

open up /etc/fstab in your favourite editor and add the following line.

/swapfile swap swap defaults 0 0


Thanks,
Riju's.
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Operating Systems > Unix/Linux

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux tips: Disable the Linux screen blanking rijus Unix/Linux 0 08-22-2009 10:43 AM
Linux Tips: Increase MPlayer Soft Volume to 300% in Linux rijus Unix/Linux 2 08-21-2009 01:37 AM
Linux Tips: Mount Windows shares like normal drives in Linux rijus Unix/Linux 1 08-13-2009 06:38 AM
Linux Tips: Search Google.com from the Linux command line rijus Unix/Linux 0 08-12-2009 02:48 AM
Linux Tips :Find details about your ISO images from the Linux command line rijus Unix/Linux 1 08-05-2009 02:09 AM


All times are GMT -4. The time now is 12:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved