I have an Ubuntu server and I am interested in measuring how much data is being transferred (both in and out) across a network interface, by a specific user. How do I do it?
N.B. I know how to measure the total data transfer of the whole machine. I want to restrict my monitoring to a specific user.