/proc/meminfo behaviour...

From: Jarrett L. Redd (jredd@cisco.com)
Date: Wed Jan 15 2003 - 19:32:12 EST


Guys, is this normal?

# head -2 /proc/meminfo
         total: used: free: shared: buffers: cached:
Mem: 193830912 76816384 117014528 0 425984 72572928
                          ^^^^^^^^^
# sleep 1
# head -2 /proc/meminfo
         total: used: free: shared: buffers: cached:
Mem: 193830912 76869632 116961280 0 430080 72609792
                          ^^^^^^^^^
#

This is on a PC with no swap and no disk, booting off an initrd stored
on a compact flash. I can understand that while sleep is running, the
amount of free memory is reduced. Why does the number stay reduced even
after it is done running? No matter how long you wait, the number never
comes back up. Is the memory really gone or is there something I don't
understand about /proc/meminfo? Or does this have something to do with
the ramdisk? Thanks.

-Jarrett Redd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:56 EST