LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ipvsadm stats

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ipvsadm stats
From: Nick Silkey <silkey@xxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2007 13:09:25 -0500
Sameer Garg wrote:
> I have been running two LVS setups and on one of them I am not setting
> any stats.
> 
> 
> When I do ipvsadm -l  I get the followng.
> 
> 
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  director:http rr persistent 300
>   -> real1:http                 Tunnel  1      0          0
>   -> real2:http                 Tunnel  1      0          0
>   -> real3:http                 Tunnel  1      0          0
> 
> This setup hasn't been modified in over 2 months, even the service
> hasn't been restarted. When I had set up the service it was working
> fine. I getting the stats and other info.
> 
> I am using RHEL 4  with kernel 2.6.9-55.0.2.ELsmp #1 SMP. and
> ldirectord. I tried restarting the service but it doesn't help. I even
> looked in /proc/net/ip_vs* (all the entries) and nothing turns up. I
> repeat LVS is doing is its job infact it is doing it very well but I
> can't seem to figure out what is happening to the stats.

Try 'ipvsadm -l --stats'.  This should show rule lifetime stats 
(connections, packets, bytes, etc).

-- 
Nick Silkey | silkey@xxxxxxxxxxxxxx
Senior Operating Systems Specialist
Electrical & Computer Engineering
The University of Texas at Austin
ENS 340 | 512.475.8284 | 0x35EB31E2



<Prev in Thread] Current Thread [Next in Thread>