> -----Original Message-----
> From: [email protected] [mailto:kernelnewbies-
> [email protected]] On Behalf Of Arun KS
> Sent: Thursday, September 23, 2010 11:30 AM
> To: [email protected]
> Subject: memory consumed by kernel
> 
> Hello There,
> 
> cat /proc/meminfo will show the memory statistics of the entire
> system.
> 
> Is there a way to see the memory consumed by the kernel alone?

I do not have thorough idea. But it seems there is no ready-made tool
(userspace/kernelspace) to know the complete kernel memory.
To debug certain memory related issues - we can refer the /proc/kallsyms
(exact place where each symbol is loaded in memory) and /proc/slabinfo -
the slab allocation for different objects. But considering the total
kernel memory it also includes many other allocations which we do not do
explicitly - like Page tables, or some kind of metadata. 

> 
> Regards,
> Arun
> 

--
Thanks,
Nilesh





--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to