lsof is so slow on Mojave. Any alternatives or improvements?
I need to get a list of files that are currently open in a tree. losf +D does the trick but it takes 30 seconds to scan about 1000 files even with the -n switch. linux takes under 0.2 seconds.
Anything I can do to improve this, or alternative to generate a list of open files in a tree?
MacBook Pro 15", macOS 10.14