Is there a command that tells Linux to really memory that is really
not in use? I'm sure top is not the best app for looking at this so
what app would be better?

Here's a picture of my machine running Gnome and Mozilla immediately
after a reboot.

top - 11:02:50 up 3 min,  2 users,  load average: 0.69, 0.43, 0.17
Tasks:  62 total,   1 running,  61 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.7% us,  0.3% sy,  0.0% ni, 95.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    775308k total,   322024k used,   453284k free,    38472k buffers
Swap:  1536184k total,        0k used,  1536184k free,   161860k cached

I was trying out a program that ended up using all of memory and about
700MB of swap. I eventually exited the program, cleanly I think, but
after 15 minutes Linux said that all 775MB of main memory and 400MB of
swap was still in use.

I understand that swap memory (and maybe main memory) are not by
default immediately given back to the system, but is there a way for
me to tell the system to go collect everything and get the system back
to something close to this reboot state?

Thanks in advance,
Mark

--
[email protected] mailing list

Reply via email to