David C. Rankin wrote:
> [root Rankin-P35a:/home/david] # ll /proc/swaps
> -r--r--r-- 1 root root 0 2007-09-20 07:33 /proc/swaps
>
> The permission would seem to prevent writing to swap. What should the
> permissions for swap be?

This file simply contains a _list_ of your swap partition(s). Just do a "cat /proc/swaps". In my case this gives me:

Filename Type Size Used Priority
/dev/hda5                               partition       562232  134424  -1


Which means that hda5 is being used as swap, swap size is ~562MB of which ~134MB are in use. If your swap partition is listed in this file, then it's being used.

This is the first time in _months_ that I am using my swap at all (it's simply because I run a big deltaiso). Usually, my swap usage is at 0MB no matter what I do, so this is nothing to worry about. Actually, this is a good thing, because it means that I have sufficient RAM for the things that I am doing.


Regards
nordi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to