A note on how to use ipcs and ipcrm to monitor and maintain shared memory.
A note on using ps to monitor processes. Note that the "top" command is often more useful. Run "man top" to read about it, and just "top" to play with it.
Adding a sys call to Linux [not yet rechecked with our current Linux]
The University of Calgary's How to Add a System Call to Linux on an i386