ktrace

ktrace is a part of the BSD family of operating systems but exists in other forms such as truss on Solaris etc.

ktrace is used to look at the system calls that a program is making and can be used to figure out jsut what a program is doing when it is running

Location: Part of the Operating System