can anyone help? (with swap file)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Topics > can anyone help? (with swap file)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    can anyone help? (with swap file)  
aliceinchains_@hotmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-06 04:32 PM

In redhat linux FC4, in Gnome I go under Applications, System Tools and then
Look at the system monitor...

On the resources page, under devices, it does not show my swap file even
though I know for a fact that I created one during the install...

Can anyone tell me what happened to it? or how to find out if it is there or
not?

I'm a linux newbie.

Thank you!

carl





[ Post a follow-up to this message ]



    Re: can anyone help? (with swap file)  
Scott Lurndal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-06 04:32 PM

carl (aliceinchains_@hotmail.com) writes:
>In redhat linux FC4, in Gnome I go under Applications, System Tools and the
n
>Look at the system monitor...
>
>On the resources page, under devices, it does not show my swap file even
>though I know for a fact that I created one during the install...
>
>Can anyone tell me what happened to it? or how to find out if it is there o
r
>not?
>
>I'm a linux newbie.

bash$ cat /proc/swaps

scott






[ Post a follow-up to this message ]



    Re: can anyone help? (with swap file)  
aliceinchains_@hotmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-06 04:32 PM

Thanks scott,

I inputted what you wrote at the terminal and it output nothing.
any more ideas?

I formatted a SWAP partition during the install, I don't know why it isn't
showing up?
how do I make the swap active?

Thanks





[ Post a follow-up to this message ]



    Re: can anyone help? (with swap file)  
Scott Lurndal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-26-06 04:32 PM

carl (aliceinchains_@hotmail.com) writes:
>Thanks scott,
>
>I inputted what you wrote at the terminal and it output nothing.
>any more ideas?
>
>I formatted a SWAP partition during the install, I don't know why it isn't
>showing up?
>how do I make the swap active?
>
>Thanks

First, identify your swap partition:

# fdisk -l /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 4425 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        32    257008+  83  Linux
/dev/sda2            33       163   1052257+  82  Linux swap
/dev/sda3           164      2203  16386300   83  Linux
/dev/sda4          2204      4425  17848215   83  Linux

Then, add a line in your /etc/fstab like:

/dev/sda2               swap                 swap    defaults        0 0


Then,

# swapon -a
# cat /proc/swaps
Filename                        Type            Size    Used    Priority
/dev/sda2                       partition       1052248 70256   -1

# man swapon
# man mkswap

scott





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register