I'm trying to find the source code for any of these: top, gnome-system-monitor or the system monitor gnome panel applet. It seems I am unable to do that (I really don't know where to search -- tried Google but to no avail). Why I'm trying to do this is because I want to create a better alternative to `free'. For this, I need to know if there's any other way of reading available / used / total RAM (and maybe swap) memory than parsing /proc/meminfo.
Thanks.
Bookmarks