Sample Header Ad - 728x90

How to trace and debug IPC (interprocess communication)

1 vote
0 answers
732 views
I have a problem with my distnoted process that I'm trying to debug. In order to investigate it, I'd like to trace the interprocess communication that's happening on my OS X 10.9.3 (Mavericks) system. I know about dtruss, and I can see things like this: % dtruss -p 263 SYSCALL(args) = return workq_kernreturn(0x20, 0x0, 0x1) = 0 0 kevent64(0x3, 0x7FFF76D54130, 0x1) = 1 0 kevent64(0x3, 0x7FFF76D54130, 0x1) = 1 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 kevent64(0x3, 0x7FFF76D54130, 0x1) = 1 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 thread_selfid(0x10E810000, 0x7FFF783E8258, 0x1010101) = 5185362 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 thread_selfid(0x110219000, 0x7FFF783E8258, 0x1010101) = 5185368 0 workq_kernreturn(0x20, 0x0, 0x1) = 0 0 I have heard that dtrace is available for me to use, but I don't know any good recipes for IPC.
Asked by Chris Quenelle (984 rep)
Jun 24, 2014, 04:54 PM
Last activity: Jul 12, 2014, 05:53 PM