Multithreaded Programming Guide

Using truss

See the truss(1)man page for information on tracing system calls, signals and user-level function calls.