Hi Suchada,
You can actually write a shell script which would take IP as an input an
print the desired outout (Active or Inact Conn)
On Fri, 2010-11-12 at 17:08 +0530, Suchada Pakapongpan wrote:
> # 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
--
Regards,
Himanshu Raina
--
Everywhere I look I see NEGATIVITY and ASPHALT ...
_______________________________________________
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
|