A dtrace D script to imitate the behavior of the strace utility in BSD and Mac OSX