pretrace is a preload library that allows specified (dynamically linked) applications to always be executed under a debugging environment. pretrace allows you to specify the percentage of invocations which will be traced, to help you "keep an eye" on applications without bringing the machine to its knees.