-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mark Knecht wrote: | 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 | |
Try the command free -m, here is what the output looks like:
free -m ~ total used free shared buffers cached Mem: 756 734 21 0 337 248 - -/+ buffers/cache: 148 608 Swap: 2016 0 2016
Mike - -- Mike Noble Email: [EMAIL PROTECTED] Key ID: 0xFFDFC13B Key fingerprint: 8204 1297 B9AD 0CED 2FCE 1FB0 9491 5824 FFDF C13B Keyserver: http://pgpkeys.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCFlLGlJFYJP/fwTsRAjs2AJ9EQxpkWHWsb0ZnL7wW8rVqhIUlIQCcDOFN Vz1d5DA+KGhr+jwqFtJtgtk= =13tF -----END PGP SIGNATURE-----
-- [email protected] mailing list
