eslogger
last updated: Nov 17, 2025
eslogger is a super useful debugging tool for Mac OS X, which sadly does not appear to even merit a single webpage at apple.com.
example: monitor files stated by a process named git, and print out just their path
sudo eslogger stat |
jq -r 'select(.process.executable.path | test("/git$")) | .event.stat.target.path'
- list event types with
eslogger --list-events - monitor the events you're interested in with
sudo eslogger [event types...] - For example,
eslogger stat write unlink createwill show you file events in a jsonl format - the
jsonlformat also means you can usejqto process the events. Here's a command that will list just the executables that getexeced on your system:sudo eslogger exec | jq -r '.event.exec.target.executable.path'
Backlinks: