dtruss: Trace system calls on MacOS
Linux has strace but on MacOS the DTrace set of tools allows a similar level of tracing. Trace some the syscalls made by a command foo with:
sudo dtruss foo
Published on: 02 Apr 2024
Linux has strace but on MacOS the DTrace set of tools allows a similar level of tracing. Trace some the syscalls made by a command foo with:
sudo dtruss foo