Paul on Wed, 13 Aug 2003 13:00:21 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Re: What is /proc/kcore


Toby DiPasquale wrote:

Paul wrote:

I guess I'm just amazed that 320MB of RAM can be represented in core format without using much memory, considering that my system is usually using a large portion of that RAM. I'll be happy to accept that it's another one of those mysterious kernel things.


That's why its confusing to you. That's not a representation of the memory on your system; it __IS__ the memory on your system. Via the seq_file interface in the kernel, your RAM is read out on-the-fly when you read from /proc/kcore. Whatever's in RAM, that's what comes out.


That makes sense.

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug