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. |
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 01:15 AM. |