How to trace system calls on a Mac
From blinkenwiki
- Reboot into Recovery mode (hold ⌘-R)
- Open a terminal and enter
csrutil disable
- Reboot
To trace system calls in a process, type:
sudo dtruss command
Using dtruss requires root privileges.
(From Evernote)