About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 31 Oct 2002 - 17:37:08 GMT


On Thu, Oct 31, 2002 at 07:57:05AM -0800, rrolfe_at_genpac.com wrote:
> What is the latest version of vserver? Is it .21, or did I end up at
> the wrong site?
>
> Also, does anyone know of a way to monitor the bandwidth used by a
> vserver?

iptables, ipchains ...

simply make some accounting rules ...

iptables -A INPUT -i eth0 -d xxx.xx.xx.xx
iptables -A OUTPUT -o eth0 -s xxx.xx.xx.xx

iptables -nvL

Chain OUTPUT (policy ACCEPT 2669 packets, 1038K bytes)
 pkts bytes target prot opt in out source destination
  404 386K all -- * eth0 xxx.xx.xx.xx 0.0.0.0/0
    9 503 all -- * eth0 xxx.xx.xx.xx 0.0.0.0/0

best,
Herbert


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:43 GMT by hypermail 2.1.3