I think Naveen means, all the memory does not appear in the output of /proc/meminfo, the reason is kernel memory is discounted and not accounted for in the output. May be his goal is to calculate the total memory in the system and that output of /proc/meminfo does not give that. On Wed, Dec 29, 2010 at 9:39 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote: > On Wed, Dec 29, 2010 at 20:30, naveen yadav <yad.naveen@xxxxxxxxx> wrote: >> Hi all, >> >> I want to calculate the total kernel memory usage. > > First, what's your definition of "kernel memory" ? Everything that is > mapped inside kernel address space only? > -- > regards, > > Mulyadi Santosa > Freelance Linux trainer and consultant > > blog: the-hydra.blogspot.com > training: mulyaditraining.blogspot.com > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@xxxxxxxxxxxxxxxxx > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies