Monitor network traffic âduring a specific timeâ in linux

Clash Royale CLAN TAG #URR8PPP up vote 3 down vote favorite I need to measure network usage on a specific interface during a specific time. I'm doing some experiments on an application so I need to know how much data is being passed around on a specific interface. So things go like: 1- start recording network usage 2- start the program 3- end the program 4- stop recording network usage I know tools like vnstat and nload exist, but they don't seem to have the feature I need networking share | improve this question asked Mar 4 at 0:48 Manuel 23 3 1 Does it matter which application the traffic comes from? If not, there's a plaintext table maintained by the kernel at /proc/net/dev with network stats for each interface including bytes received and transmitted. â dsstorefile1 Mar 4 at 0:52 add a comment  | up vote 3 down vote favorite I need to measure network usage ...