Subject: Re: [vserver] Network traffic monitoring per-vserver
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Sun, 22 May 2011 14:05:25 +0200 (CEST)

Daniel Lo Nigro wrote:
> Hi everyone,
> Is it possible to monitor how much traffic each vserver is using? I'm currently
> using vnstat for monitoring network transfer for the whole server, but it'd be
> great to produce a report stating how much network transfer each vserver is
> using per month as well.

You can graph iptables hit counters rather easily to get that sort of data.
Just setup a rule like iptables -A OUTPUT -o eth0 -s <guest IP> and you
will see.

-- 
Daniel Hokka Zakrisson