LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /proc/kcore size doesn't match with physical ram size (https://www.linuxquestions.org/questions/linux-newbie-8/proc-kcore-size-doesnt-match-with-physical-ram-size-329080/)

cash_05 05-31-2005 11:40 PM

/proc/kcore size doesn't match with physical ram size
 
Hi,

I recently install slackware linux 10 with default setting into my pc which has 4GB physical ram. Right after installation and first reboot, i noticed that the size of /proc/kcore is 907MB but not 4GB. People always said /proc/kcore is an alias to the physical ram. Thus, where is all my ram gone?

I need to copy the whole content of ram into file so that i can do some analysis on it. Can anyone teach me how?

Thanks.

hw-tph 06-01-2005 06:34 AM

You need to enable high memory support in the kernel configuration. It is possible that Slackware ships with an alternate kernel with high memory support enabled so you don't have to build the kernel by yourself, so check that first.


Håkan

minrich 06-01-2005 01:23 PM

Don't worry about the size of /proc/kore - whilst mine is currently 2GB (the same size as my physical RAM) the other day I checked it was showing 456TB (yes Terabytes !! ) don't I wish. Unfortunately a reboot fixed it and I must admit that I am running x86_64 Suse 9.3 on an AMD 64 Athlon.

From what I have read - there is no way and indeed no need to delete or change the size value shown for /proc/kore.

HTH


All times are GMT -5. The time now is 10:27 PM.