On Cyanogenmod, there is a neat display in the settings that shows you over-all data usage, as well as per-app data usage:
Is there anything similar available for linux? I want to be able to log per-application data usage for a given network interface.