Search code examples
objective-ccocoanetwork-programmingmonitortraffic

Monitor Network Traffic Mac


I'm wondering how to go about monitoring network traffic on my Mac. Like the way activity monitor does it, showing the bytes / packets in and out.

I know it's a bit vague, but I'm unsure of the best place to start.

EDIT: I'm wanting to do this in code, not use an existing piece of software.


Solution

  • I just found the open source project, MenuMeters. It's got exactly what I'm looking for.