I'm running dtruss on Mac OS X 10.9. Simple example is:
sudo -c ls
But I'd like to capture the dtruss output into a file. I saw something that suggests that I can do something like:
sudo bash -c 'dtruss -c ls >x'
but when I do this the output of dtruss still goes to the terminal and the list of file from ls gets redirected to the file.
How can I redirect the output of dtruss to a file?