RE: How to check if swap is working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From: fedora-list-bounces@xxxxxxxxxx
>[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Steven Ringwald
>Sent: Friday, December 16, 2005 6:35 PM
>To: For users of Fedora Core releases
>Subject: Re: How to check if swap is working?
>
>
>Daniel B. Thurman wrote:
>
>>Folks,
>>
>>I had to rebuild my filesystem and I have no idea if my swap
>>is working or not, so how can I check it?
>>
>
>
>% cat /proc/swaps
>
>This will tell you (in a parsable format) which swap devices exist and 
>how large they are, etc.
>
>Steve
>
>
>-- 
>fedora-list mailing list
>fedora-list@xxxxxxxxxx
>To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Ok, thanks to Warren and Steve for the tips!

Turns out that my swap failed to work.  I thought that when I
did a mkswap, a label would be used and the fstab would somehow
get correctly set.  I was wrong on both counts. grrr.

I had to hardpath the swap (/dev/hda3) into the fstab and
then run swapon -a command.  I rechecked swap and now I have
something other than "0"

Again, thanks for the tips!

Dan

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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux