Shlomi Shalem <[EMAIL PROTECTED]> writes:

> Hey all,
> I have a strange problem, hope you guys are able to help:)
> Anyway, a few months ago I installed Slack 10.1 and everything goes
> well until now, except one thing: my swap partition is not working! I
> mean, my physical memory is always standing on somrthing like 96% used
> but my swap is totally empty. This happens also when my computer is no
> running any heavy processes, and when it does, no matter what, my swap
> remains empty and useless...
> What could it be?

You misunderstand how Linux reports memory usage. It will *always* be
around ninety-something per cent because memory is not released until
some other process needs it. Run free(1) and check the line that says
"+/- buffers/cache" - that will report more realistic used/free
numbers.

If, for some reason, slack does not have free(1), cat /proc/meminfo
and add up the MemFree, Buffers, and Cached lines - that's the memory
you have available.

You are really not using your swap. Be happy.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to