From: Rob Love <rml@ximian.com>
To: unki@netshadow.at
Cc: linux-kernel@vger.kernel.org
Subject: Re: /proc/meminfo values
Date: Mon, 22 Dec 2003 10:31:06 -0500 [thread overview]
Message-ID: <1072107066.3318.17.camel@fur> (raw)
In-Reply-To: <1072104601.1165.33.camel@winsucks>
On Mon, 2003-12-22 at 09:50, Andreas Unterkircher wrote:
> cat /proc/meminfo
> total: used: free: shared: buffers: cached:
> Mem: 244191232 238395392 5795840 0 2732032 138403840
> Swap: 509923328 147443712 362479616
This view is gone. Use something like free(1) or a custom script to
recreate it.
> but with 2.6 it looks like they have been removed. where can i get the
> exactly free memory (+ swap) from the kernel so i havn't to use the
> kb-values which i get back from /proc/meminfo?
>
> i try to check the source good from "free" (with the -b option it
> returns the bytes-value) which seems to simple multiply *1024 to
> the kb values.
But everything is page granularity already, which is 4KB on x86. Going
to bytes would not gain you anything.
Rob Love
next prev parent reply other threads:[~2003-12-22 15:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-22 14:50 /proc/meminfo values Andreas Unterkircher
2003-12-22 15:18 ` Rik van Riel
2003-12-22 15:31 ` Rob Love [this message]
2003-12-22 15:34 ` Andreas Unterkircher
2003-12-22 18:40 ` Mike Fedyk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1072107066.3318.17.camel@fur \
--to=rml@ximian.com \
--cc=linux-kernel@vger.kernel.org \
--cc=unki@netshadow.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.