I have a script like this: script.sh If I do a dtruss on it then I would expect to see an execve call to clang. However, the trace does not c ...
I have a script like this: script.sh If I do a dtruss on it then I would expect to see an execve call to clang. However, the trace does not c ...
I've recently decided to learn more about systems programming, and felt it would be helpful to see what my code is actually doing under the hood. To ...
I am tracing a process on OSX 10.13 using dtruss trying to understand why it freezes up while doing a socket connect. However when it reaches the conn ...
I'm trying to build the example at this gist on OSX 10.9: cd /tmp git clone https://gist.github.com/ecfd80885b9ddf6734192c056cf48bf4.git fopentest cd ...
Here is an example interaction with dtruss on my macOS machine. Many of these system calls look familiar, but others don't. Specifically, what are ...
I ran dtruss on vmmap that is a process that read the virtual memory of another remote process. I would expect that some of mach_port system calls w ...
I was trying to see which syscall ps uses to get the command line of a process on OS X 10.11 (El Capitan), and ran into the following error: Googli ...
I need to see my program's printf output in sync with the dtrace output. I like to build my own version of dtrace command that produce the equivalent ...
I want to write software that will detect all used/created/modified/deleted files during the execution of a process (and its child processes). The pro ...
I wanted to trace the system calls made by the find command to debug some performance issues however I could not figure out how to do this on Mac OS X ...
The dtruss man page says: which sounds like exactly what I want. However, observe the following behavior: Note that except for the first case, " ...
If I write in my project, Node wastes a lot of time looking in places that do not actually contain the file, as this dtruss output shows. Is the ...
I would like to visual the file system actions that are caused by running something like git lg -n3. I'm on a Mac. So I thought, ok let's run dtruss g ...