Is there a dtrace one liner that will run a command, and tell me all the files it tries to open?
The Linux strace equivalent of what I'm trying to do is
strace -e trace=file -f cat /etc/passwd > /dev/null
I am on El Capitan
Asked by benhsu
(285 rep)
Dec 7, 2017, 08:54 PM
Last activity: Dec 19, 2018, 12:03 AM
Last activity: Dec 19, 2018, 12:03 AM