LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux kernel memory usage.. (https://www.linuxquestions.org/questions/linux-software-2/linux-kernel-memory-usage-353252/)

drminix 08-14-2005 05:37 PM

Linux kernel memory usage..
 
Hi. ;)

I was wondering how I can find out the size of memory (text, bss, and data segments) used by Linux kernel 2.2.17. I tried using 'dmesg' to see if the kernel gies out out any relevant information at boot-up time but there is none. Please help!


Thanks in advance
Sanghyeb.

foo_bar_foo 08-14-2005 05:47 PM

all can be found in the /proc filesystem
what you say data segments and whatnot is per process in /proc/<pid>/status
there are overall mem stats in /proc/meminfo /proc/vmstat and like that


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