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. 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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.