On Sunday 02 February 2003 01:35, Adolfo Bello wrote:
> Until today, I thought that the swap partition was used *only* when the
> system ran out of "real" memory and started to swap proceses or data
> from ram to disk and back.

This is probably correct.

> However, I've been monitoring memory usage with gkrellm and have noticed
> that even when there is still about 200Mb of free ram, the system has
> used 20 Mb of swap space.

It is possible that at one point you did use up all of your RAM and some
processes got swapped out, but later, when some memory is freed,
swapped-out segments do not get loaded into memory again until needed.

> Is there any tool that can tell me the maximum amount of memory the
> system has used at any time? 

You mean like a log? You could probably set one up by yourself, running
'free' once every half an hour or so and piping it's output to file (thinking
about a cron job..)

>Is it possible that Linux uses swap space
> when there is plenty of free ram?

don't know, but don't think so.


Damian

-- 
--
I don't want Windows to be only for the 31173. Yes, we've come a long way from
all those security holes, virii, and cryptic commands like "Edit textfile.txt"
(what in the hell is that supposed to mean?)

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to