top | item 45072700

(no title)

fp64 | 6 months ago

I think you are right. At least they should document that it only works if you have netstat installed and using it on a device called "en0"

discuss

order

diggan|6 months ago

They do that implicitly in the comment above the function:

> // Function to monitor network activity (macOS specific)

I'm guessing all macOS computers use exactly the same NIC name, and come with netstat preinstalled?