RE: How to check if swap is working?



>From: fedora-list-bounces@xxxxxxxxxx
>[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Steven Ringwald
>Sent: Friday, December 16, 2005 7:32 PM
>To: For users of Fedora Core releases
>Subject: Re: How to check if swap is working?
>
>
>Daniel B. Thurman wrote:
>
>>
>>
>>Errrr.... I show that I do have the swap partition loaded with
>>available swap space showing however I see that 0 swap is being
>>used. Is this normal?
>>
>>How do I test to see if swap will work when needed? I see
>>no activity at this time....
>>
>Linux tries not to use swap unless it has to.
>To see swap being used, you could try exhausting your RAM with a
>ramdisk, filling the disk, and then trying to run a program...
>
>Assuming you have 1GB of RAM...
>
>mount -ttmpfs -osize=1024m /mnt /mnt
>dd if=/dev/zero of=/mnt
>
>Now you ought to have stuff in swap like mad. :-)
>
>Hope this gets you the info you need.
>Steve
>
>

Yup! It works! Thanks for the tip again!
Dan

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 12/16/2005


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Fedora Core 2 - Processes Eating 20X more memory
    ... I'll try the Fedora Core 1 os and see what happens. ... >> Brian Ceccarelli ... > Overall it is designed to use more ram and less swap. ... > & decrease need to access the swap space when running applications. ...
    (alt.os.linux.redhat)
  • FC4 GNOME 2.10 a bit slow on Toshiba Satellite A40
    ... swap) with Fedora Core 4 (GNOME 2.10) installed, ... Swap is always free, never use 100 % of my ram memory. ...
    (Fedora)
  • Re: Optimizing Fedora Core 3
    ... Fedora Core 4 has a slightly faster boot-sequence. ... You should have more RAM, at least if you want to run X11. ... 2GB swap is surely enough. ...
    (comp.os.linux.misc)
  • Re: Memory Leak? (repost)
    ... For users of Fedora Core releases ... Buffers/cache are used to optimize the system and ... linux will use ALL available memory before it uses swap. ...
    (Fedora)
  • RE: How to check if swap is working?
    ... >Subject: RE: How to check if swap is working? ... For users of Fedora Core releases ... a label would be used and the fstab would somehow ... Dan ...
    (Fedora)