getting amount of total/free memory in linux
While you can always parse /proc/meminfo, there’s system call sysinfo which does the trick.

While you can always parse /proc/meminfo, there’s system call sysinfo which does the trick.

Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers