Re: How to find which swap in use?

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

 



On Fri, 2010-06-11 at 15:02 +0100, Timothy Murphy wrote: 
> Frank Elsner wrote:
> 
> > On Fri, 11 Jun 2010 14:09:19 +0100 Timothy Murphy wrote:
> >> A very old (11 years?) but much loved desktop
> >> has developed a nasty habit of stopping me editing
> >> because the file, it says, is Read-only.
> >> 
> >> I suspect this is because the swap partition
> >> (on an even older SCSI disk) is not functioning.
> >> 
> >> How does one find which swap device or devices is in use?
> >> ("top" says there is 2GB swap space, but 0k in use.)
> > 
> > cat /proc/swaps or swapon -s
> 
> Thanks for that.
> Actually, these give the same information in this case as "top", eg
> ----------------------------------
> [tim@alfred ~]$ sudo swapon -s
> Filename      Type            Size    Used    Priority
> /dev/sdb3     partition       1959920 0       -1
> ----------------------------------
> 
> It seems that swap is not being used, for some reason.
> This machine has just under 1GB RAM (the max for this motherboard)
> so it is not clear why swap is not in use.
> 
> I think maybe the machine is sick:
I can think of may reasons for swap not to be used at a particular
moment.For example, at this moment the swap on my desktop has 0 bytes
used. If swap is never used then one can start worrying.


--
=======================================================================
Neglect of duty does not cease, by repetition, to be neglect of duty. --
Napoleon
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


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

  Powered by Linux