Hi Dev, > I wanted to know how much kernel and userspace memory is available on the > Linux system during run-time either by some C code or some procfile. > > Do you know how to do that? You can look in /proc/meminfo http://unixfoo.blogspot.com/2008/02/know-about-procmeminfo.html The memory is shared between userspace and kernel space and the amount of memory available changes dynamically as the system is running. Be aware that Cached memory is quite dynamic, and the system will throw away cache pages to make space if it needs to. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies