On Sat, 2003-02-01 at 19:49, Damian Gatabria wrote:
> 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
As I have 512 Mb ram, I selected a small swap partition so I was a bit
uneasy when I saw that about half of it had been used.
I suppose that at some moment I might have been using lot of memory
because I was compiling/building stuffs, using Evolution, OpenOffice,
PAN, Galeon, Konq and Konsole, trying ODBC with MySQL, every thing under
KDE.
Hate buying more memory but no more than disk swapping :-(
--
__
/ \\ @ __ __ @ Adolfo Bello / [EMAIL PROTECTED]
/ // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258
/ \\ // / \\ / // // / // cel: +58 416 609-6213
/___// // / <_/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com // pager: www.tun-tun.com (# 609-6213)
Sat, 01 Feb 2003 23:20:21 -0400
11:20pm up 15:31, 3 users, load average: 0.00, 0.02, 0.00
"When it comes to humility, I'm the greatest."
-- Bullwinkle Moose
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com