5

Is there anything that allows me to monitor network usage by process for longer time (1 day +-). I know nethogs but it only shows current process and I need longer period to be monitored and probably logged to some file.

Also found vnstat to be nice, but only monitors total network usage...

2 Answers 2

5

Network Monitoring Solutions

  1. iptraf
  2. nethogs
  3. lsof -i
  4. wireshark
  5. iftop
  6. ntop
  7. nagios

And slurm is sexy for total bandwidth on an interface.

1
  • 1
    iftop will crash if left open for too long, just thought I'd mention that. I had issues with wireshark crashing when left open too long also.
    – Lawrence
    Commented Jul 1, 2013 at 2:28
1

iptables can monitor network usage by port. assuming your application only uses a certain port, then this is a possibility

A quick google found this - http://www.cyberciti.biz/faq/linux-configuring-ip-traffic-accounting/

That should give you a pointer at least

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.