4 ms·
On macOS you have Instruments, dtrace (which is what Instruments uses under the hood, IIRC), and strace. I haven't had much need for any of these, but you shoul
by Jtsummers 5y ago
On macOS you have Instruments, dtrace (which is what Instruments uses under the hood, IIRC), and strace. I haven't had much need for any of these, but you should be able to use dtrace for anything you'd use strace for and it will (or used to, has strace been improved?) get you much better performance while doing the tracing.
- frou_dh 5y agoThere's also the sc_usage TUI and fs_usage command. Maybe they're tapping into the same stuff, I dunno.