LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ipvsadm -l --stats

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: ipvsadm -l --stats
From: Rutger van Oosten <r.v.oosten@xxxxxxxxxxx>
Date: Thu, 9 Oct 2003 09:53:11 +0200
When I run ipvsadm -l --stats it shows connections, packets and bytes in and
out for the virtual services and for the real servers. One would expect that
the traffic for the service is the sum of the traffic to the servers - but
it is not, the numbers don't add up at all, whereas in ipvsadm -l --rate
they do (approximately, not exactly for the bytes per second ones).

For example (LVS-NAT, two real servers, one http virtual service):

# ipvsadm -l --stats
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port               Conns   InPkts  OutPkts  InBytes
OutBytes
  -> RemoteAddress:Port
TCP  vip:http                      4239091 31977546 29470876    3692M
26647M
  -> www02:http                    3911835 29405279 26900679    3407M
24292M
  -> www01:http                    3395953 25407180 23257431    2931M
20957M


# ipvsadm -l --rate
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port                 CPS    InPPS   OutPPS    InBPS
OutBPS
  -> RemoteAddress:Port
TCP  vip:http                           45      348      314    41739
285599
  -> www02:http                         35      252      216    30416
197101
  -> www01:http                         10       96       98    11323
88497


# ipvsadm --version
ipvsadm v1.21 2002/11/12 (compiled with popt and IPVS v1.0.10)


Is this a bug, or am I just missing something?

Thanks, Rutger
<Prev in Thread] Current Thread [Next in Thread>