Strace-macOS: A clone of the strace command for macOS

github.com

108 points by signa11 4 months ago


comex - 4 months ago

Neat, though I'm guessing it's pretty slow.

Tip for anyone reading: If you only need to trace file accesses or command executions, `eslogger lookup` and `eslogger exec` respectively will give you what you need (albeit in the form of a not-particularly-friendly JSON blob).

sandbags - 4 months ago

Modulo I haven’t tried it yet it’s been an irritant that SIP broke tracing so this is a welcome development, thank you.

BirAdam - 4 months ago

This triggered a small emotional reaction. I really miss the days when Apple made real effort toward servers with MacOS X Server and Xserve. Hopefully, since they're using their own hardware/software internally for servers, Apple may one day go back down that road.

CGamesPlay - 4 months ago

Love it. I've never successfully used dtruss without hardlocking my system, so it's nice to see that this isn't a wrapper around that.