Re: How to check if swap is working?
- From: Steven Ringwald <asric@xxxxxxxxx>
- Date: Fri, 16 Dec 2005 19:31:33 -0800
Daniel B. Thurman wrote:
Linux tries not to use swap unless it has to.
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....
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
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- RE: How to check if swap is working?
- From: Daniel B. Thurman
- RE: How to check if swap is working?
- Prev by Date: Re: How to check if swap is working?
- Next by Date: RE: How to check if swap is working?
- Previous by thread: Re: How to check if swap is working?
- Next by thread: How to check if swap is working?
- Index(es):
Relevant Pages
|