Something that *logs* network/traffic/bandwidth usage per process?

6

3

I have recently found NetHogs, a Linux tool for monitoring traffic per process in B/s. But I am looking for something that logs traffic per process in total B uploaded and downloaded. (Example, today Firefox downloaded 50 MB, UbuntuOne downloaded 10 MB and uploaded 20 MB...)

Does such an application exist?

Ideally the tool would be FOSS and cross-platform, but feel free to mention OS-specific solutions (e.g. NetLimiter on Windows, which does a bunch of extra stuff too) in case they'll help someone else.

The tool should perform per process logging, if it can't do this it isn't a suitable solution. (e.g. Wireshark does not seem to be process-aware)

david.libremone

Posted 2010-09-15T23:30:56.353

Reputation: 1 128

Question was closed 2015-01-22T03:07:19.987

http://serverfault.com/questions/36586/how-can-i-monitor-network-i-o-usage-per-process-under-linux – Ciro Santilli 新疆改造中心法轮功六四事件 – 2016-05-26T20:04:48.177

You can play with this small bash utility.

– tshepang – 2011-02-04T20:27:19.357

Answers

1

"Does such an application exist?"

  • Linux: None found yet
  • Mac: None found yet
  • Windows: NetLimiter (commercial)
  • Cross-platform: None found yet

See other answers for adapting existing tools.

david.libremone

Posted 2010-09-15T23:30:56.353

Reputation: 1 128

Windows: also http://www.bwmonitor.com/

– Rory – 2015-01-17T19:59:49.090

0

Sysinternals' TCPView has a per process column for bytes sent/received. It's log can be saved, but may require some workarounds to allow this to be done while it is running.

Abraxas

Posted 2010-09-15T23:30:56.353

Reputation: 1 269