Per user network accounting
Posted on 2005-04-22
Is there a way to keep count of the bandwidth used on a per-user basis in Linux?
Nothing to do with websites or anything... I run a server and users use rsync to send data to it. Unfortuntaely, rsync doesn't have good enough logging capabilities, and even if it did it wouldn't be able to account for overheads.
So is there some other package out there that can keep track of network/bandwidth activity, but break it down on a per-user basis?
The rsync rides on an ssh session, so that might be a possibility too... measuring the data flowing through the ssh session.
I don't know... I've tried various things but I haven't even come close.