Added an example for using sysinfo to get memory information.

* Does not work well, since it ignores cache memory.
* Added an example for fork().