Re: Why OS takes so much memory?

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 08/26/04


Date: Thu, 26 Aug 2004 21:31:33 -0000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.setup John <jchen@gov.mb.ca> suggested:

[..]

> Do you also know the meaning of used mem, and how it is counted?

Used mem is simply including shared, buffers and cached memory.
'free' simply looks in /proc/meminfo, try 'cat /proc/meminfo'.

> I really want to find out the relationships among those reported items.
> I checked man page and other info available to me, but it's still a
> puzzle to me. Maybe I am a bit greedy.

There are a bunch of tools available most come with the procps
package, 'top' might be interesting and 'man proc' in addition.

Good luck

-- 
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBLla0AkPEju3Se5QRAhceAKC/78uG4yRo7aCYHflCNZuNsyTZiwCffPAn
9N5fTSN9i0Ri9iXKWw4d328=
=NQy9
-----END PGP SIGNATURE-----


Relevant Pages

  • Re: free (command) memory question
    ... You need GnuPG to verify this message ... In alt.os.linux.suse Paranoid about Spam suggested: ... > used for cache and buffers? ...
    (alt.os.linux.suse)
  • Re: Another Hardware Issue
    ... giving up on 1 buffers ... Uptime: 16s ... running FreeBSD 4.6.2-RELEASE-p13. ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (freebsd-questions)
  • Re: [uml-devel] Cannot debug UML
    ... I've checked my UML's memory, ... follow UML rules. ... First try without the "mem" option in the command line to see if it works; ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Linux-Kernel)
  • Which locking primitive in interrupt handler?
    ... It uses two ring buffers to buffer data ... Since the interrupt handler must not call the scheduler, ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (comp.os.linux.development.system)
  • Which locking primitive in interrupt handler?
    ... It uses two ring buffers to buffer data ... Since the interrupt handler must not call the scheduler, ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (comp.os.linux.development.system)