public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/meminfo values
@ 2003-12-22 14:50 Andreas Unterkircher
  2003-12-22 15:18 ` Rik van Riel
  2003-12-22 15:31 ` Rob Love
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Unterkircher @ 2003-12-22 14:50 UTC (permalink / raw)
  To: linux-kernel

hello.

one question, didn't find any other information souce.

in kernel 2.4 /proc/meminfo writes back exactly mem info values
in the first 2 lines like:

cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  244191232 238395392  5795840        0  2732032 138403840
Swap: 509923328 147443712 362479616


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.


thanks for any info!

greetings, andi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-22 18:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2003-12-22 15:34   ` Andreas Unterkircher
2003-12-22 18:40     ` Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox