Specific traffic analysis
Solution 1:
ntop is a classic
Install
sudo apt-get install ntop
You will be asked to set a password during the install
point firefox to http://localhost:3000
or https://localhost:3001
log in with the username admin
and the password you set.
notp will show you all sorts of information.
Small sample:
Solution 2:
I use nethogs
; it tells me the current usage and the processes:
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded. Homepage: http://nethogs.sourceforge.net/
It is available in the software center and repositories.