Hacker News new | ask | show | jobs
by jxf 2369 days ago
They are similar but they answer different questions.

By default, iftop will tell you "this network interface on your machine is talking a lot to ycombinator.com". But you don't necessarily know which processes are doing the most talking collectively.

This will tell you "Firefox process 4567 is talking a lot ycombinator.com" and you'll know whether 4567 is also one of the chattiest talkers right now.

1 comments

> This will tell you "Firefox process 4567 is talking a lot ycombinator.com" and you'll know whether 4567 is also one of the chattiest talkers right now.

But that's what nethogs does.

nethogs doesn't have the raw output mode. That could be useful. I'd take nethogs' real time display and what's raw output.
Looks like nethogs dones't work well on macos.