How to find which swap in use?
Frank Elsner
Frank.Elsner at TU-Berlin.DE
Fri Jun 11 12:24:09 UTC 2010
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
--Frank
More information about the users
mailing list