Since RT-Mach is relatively new, it doesn't quite have the body of documentation and or examples behind it that other operating systems do. While developing StarBase, the RT-DBMS group wrote a number of small test programs which others may find useful.
A wider variety of examples can be found in the current RT-Mach documentation.