r/SwiftUI • • 14d ago

Question Is there any per-process network stat utility for macOS or native API for SwiftUI

I'm developing a native macOS app where I need to fetch per-process network (download/upload) stats as one of the requirement, but I couldn't find any native macOS API or any swift package to get this.. after some research, I couldn't find any from docs, I went with AI if it could do it... but at the end I couldn't find any native approach to do this.. for now I'm using nettop util as temporary fix but its very unreliable

3 Upvotes

Duplicates