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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux