Mac: Write scripts\guide for capturing file system events when problems occur
See original GitHub issueOn Windows we can ask users to run procmon to capture the I/O that’s happening on their system when errors occur.
It sounds like dtrace
might be able to get us something similar on Mac, but work needs to be done to determine how we should configure\run dtrace to get the information we’re interested in.
The issue encompasses:
- Researching
dtrace
and determining what useful information can be captured and how to capture it - Creating script(s) to start\stop
dtrace
with the options we need - Writing up a guide on how to collect\analyze data from
dtrace
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Mac Automation Scripting Guide: Using Handlers/Functions
Handlers provide a way to organize your code by breaking it up into smaller, manageable, modular chunks. This can be useful when troubleshooting...
Read more >System Events file list - AppleScript | Mac OS X
Hi, Trying to use System Events seems to be harder than using Finder, but its a little faster I think. Properties in System...
Read more >macOS Incident Response | Part 1: Collecting Device, File ...
We'll get started today, in Part 1, by explaining how to quickly gather up vital data about file events, system configuration and the ......
Read more >OSX: Hook file read event - api
Notably this tool is used by things like Spotlight to watch activity on the filesystem for new, interesting files.
Read more >Brendan's blog » Top 10 DTrace scripts for Mac OS X
In this post, I'll cover the top ten Mac OS X DTrace scripts that I ... and minor numbers iosnoop -m / #...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pmj, I think there’s actually one more item to call out as being within the scope of this task:
/ cc: @jrbriggs, @nickgra
Thanks @pmj. I’m going to consider this issue closed now, and if we find that we want more data when investigating support issues we’ll create other issues to track that work.