![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| perl adding items to a hash | andrew2325 | Shell Programming and Scripting | 17 | 05-05-2008 08:56 AM |
| Find the items you want with GNOME Do | iBot | UNIX and Linux RSS News | 0 | 01-11-2008 01:10 PM |
| change list to comma seperated items | insania | Shell Programming and Scripting | 2 | 10-03-2007 06:21 PM |
| How to mark ALL mail items as read? | Krispy | UNIX for Dummies Questions & Answers | 3 | 07-17-2006 12:53 PM |
| Comparing items in 2 files | ReV | Shell Programming and Scripting | 12 | 01-20-2006 08:19 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello Guys,
Sometimes it is necessary to add more swap space after installation. For example, you may upgrade the amount of RAM in your system from 64 MB to 128 MB, but there is only 128 MB of swap space. It might be advantageous to increase the amount of swap space to 256 MB if you perform memory-intense operations or run applications that require a large amount of memory. You have two options: add a swap partition or add a swap file. The easiest way to achieve this it to through swap file. To add a swap file: Determine the size of the new swap file and multiple by 1024 to determine the block size. For example, the block size of a 64 MB swap file is 65536. At a shell prompt as root, type the following command with count being equal to the desired block size: dd if=/dev/zero of=/swapfile bs=1024 count=65536 then mkswap /swapfile To enable the swap file immediately but not automatically at boot time: swapon /swapfile To enable it at boot time, edit /etc/fstab to include: /swapfile swap swap defaults 0 0 The next time the system boots, it will enable the new swap file. After adding the new swap file and enabling it, make sure it is enabled by viewing the output of the command cat /proc/swaps or free. bingo ![]() Let me know if you have any questions. Prashant, prashant ohol - System Administrator, Last edited by prashant_ohol; 09-11-2006 at 04:50 PM.. |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|