LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] how to get ActiveConn value

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] how to get ActiveConn value
From: Suchada Pakapongpan <cooky_th@xxxxxxxxxxx>
Date: Fri, 12 Nov 2010 18:38:41 +0700
# ipvsadm -L -n
> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.1.1:80 wlc
  -> 192.168.1.2:80            Route   1      50          1005
  -> 192.168.1.3:80            Route   1      67          1580
  -> 192.168.1.4:80            Route   1      39          1358
  -> 192.168.1.5:80            Route   1      70          1877
  -> 192.168.1.6:80            Route   1      59          1333
  -> 192.168.1.7:80            Route   1      49          1477

In my LVS has many real server ip address (RIP) and I'd like to get ActiveConn 
value of some RIP to calculate.
I'd like to know how ipvsadm to get only ActiveConn value by identifying RIP 
x.x.x.x ? 

Ex: I put RIP=192.168.1.2 and it return 1005 to me 
(I try lot of ipvsadm options, but didn't work.)
or which file that contain that value? 
 
Thank you in advance,
Cooky                                     
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>